|
- apt - How to install updates via command line? - Ask Ubuntu
Use this: sudo apt update # Fetches the list of available updates sudo apt upgrade # Installs some updates; does not remove packages sudo apt full-upgrade # Installs updates; may also remove some packages, if needed sudo apt autoremove # Removes any old packages that are no longer needed Documentation about each apt option can be found in the the manpages for apt These are also available by
- apt - How to list all installed packages - Ask Ubuntu
I'd like to output a list of all installed packages into a text file so that I can review it and bulk-install on another system How would I do this?
- apt - How do I fix the GPG error NO_PUBKEY? - Ask Ubuntu
sudo gpg -a --export <PUBKEY> | sudo apt-key add - sudo apt-get update Note that when you import a key like this using apt-key you are telling the system that you trust the key you're importing to sign software your system will be using Do not do this unless you're sure the key is really the key of the package distributor
- apt - How do I search for available packages from the command-line . . .
I have successfully installed some packages using the command: sudo apt-get install packagename when I have known in advance that those packages are available But how can I search for or get a l
- apt - How can I download THEN install packages? - Ask Ubuntu
I know that when it comes to the Red Hat distribution, I can use the following commands to download a copy of the package and then separately install it yumdownloader package_name yum install
- What is the difference between apt and apt-get? - Ask Ubuntu
The apt commands have been introduced to solve this problem apt consists some of the most widely used features from apt-get, apt-cache and apt-config leaving aside obscure and seldom used features
- Unable to correct problems, you have held broken packages
For example, if apt-get fails to install something because of conflicting dependencies it will give up However, aptitude might offer to go ahead, but uninstall a whole bunch of other packages in order to satisfy those conflicts - or even downgrade packages You simply have to be aware of what it's suggesting and proceed only if it is a good idea
- apt - How to list manually installed packages? - Ask Ubuntu
I'd like to get a list of packages installed manually by apt or aptitude and be able to find out whether a foobar package was installed manually or automatically How can we do that from the comman
|
|
|