I would like to add settings to the file
apt.conf , but I realized that it was replaced by a folder called
How can I configure with this new model?
It is best to create your own user file in
It is labelled with a
Then to edit your file run
and then, for example, you could add the following (although not usually recommended) configuration item:
If you wanted apt to stop installing recommended packages (again not usually the best decision) you could use
The syntax of these commands differs to how the man page will describe how entries for the older
The man page will give you an indication of the general settings available, so please enter
To check what's under
However, if it does not exist, you can create it by running the following command:
(Make sure the present working directory is
This will ask for your password and launch
You can also use:
From versions newer than Gutsy, the file /etc/apt/apt.conf has been replaced by /etc/apt/apt.conf.d/proxy (create it if needed), with the same structure.
Just create the file /etc/apt/apt.conf if you need it, and put in the stuff you want.