安裝中文字典英文字典辭典工具!
安裝中文字典英文字典辭典工具!
|
- What is the difference between apt and apt-get? - Ask Ubuntu
apt-get may be considered as lower-level and "back-end", and support other APT-based tools apt is designed for end-users (human) and its output may be changed between versions Note from apt(8): The `apt` command is meant to be pleasant for end users and does not need to be backward compatible like apt-get(8)
- apt - What is difference between the options autoclean, autoremove . . .
When APT is used as a dselect(1) method, clean is run automatically Those who do not use dselect will likely want to run apt-get clean from time to time to free up disk space autoclean : Like clean, autoclean clears out the local repository of retrieved package files
- apt - Package system is broken. How to fix it? - Ask Ubuntu
sudo apt-get clean Above command will clean out the local repository of retrieved package file sudo apt-get install -f Will correct broken dependencies i e -f here stands for “fix broken” sudo dpkg --configure -a will configure all (-a) the packages which haven't been configured yet In the end do run the update command sudo apt-get update
- apt - How do I fix the GPG error NO_PUBKEY? - Ask Ubuntu
The reason for this change is that when adding an OpenPGP key that's used to sign an APT repository to etc apt trusted gpg or etc apt trusted gpg d, the key is unconditionally trusted by APT on all other repositories configured on the system that don't have a signed-by (see below) option, even the official Debian Ubuntu repositories
- apt - How do I search for available packages from the command-line . . .
apt-file search part_of_package_name | grep another_part_of_name Example of searching for ssh server package if I do not know the name is ssh-server or sshserver or server-ssh etc : apt-file search ssh | grep server Steps to prepare apt-file search for searching It should be done before first usage: sudo apt-get install apt-file sudo apt-file
- apt - Installing suggested recommended packages? - Ask Ubuntu
I ran the following code and got this package needs these packages, now it also says these packages are suggested, and theses are recommended How do I get those up to install as well myusuf3@pur
- apt - How to delete broken packages in ubuntu - Ask Ubuntu
sudo apt-get update then cleanup any partial packages sudo apt-get autoclean Now clean the apt cache sudo apt-get clean Now remove any unnecessary dependancies sudo apt-get autoremove from the command above, you can identify any broken packages and forcefully remove it like this sudo dpkg --remove --force-remove-reinstreq package_name
- apt - How can I see all versions of a package that are available in the . . .
That's why I'd suggest always using apt-cache policy <package-name> instead Note about output: I have some local repository setup and both of the command shows those as well Note 2 Newer apt comes with policy integrated into them So, you can use apt instead of apt-cache directly
|
|
|