Find package in which a missing file is packed ubuntu

If you want to find out to which package a particular file belong, you can use apt-file. Open a terminal window and enter the following command: $ apt-file search <filename> <enter>

Where <filename> is the name of the file to lookup.

If you do not have apt-file installed, you can install it on your computer . . . → Read More: Find package in which a missing file is packed ubuntu

apt-get dist-upgrade freezes at reading package lists due to appstreamcli in Ubuntu

Today, when I attempted to update the Ubuntu system to install the latest patches, the system hanged infinitely at the sudo apt-get update command. This appears to be a bug, but nonetheless, system patching is our priority and this is the workaround, till it gets fixed. To type the commands below, open a linux terminal . . . → Read More: apt-get dist-upgrade freezes at reading package lists due to appstreamcli in Ubuntu

Add repository to sources.list file in Ubuntu

Here is an example of how to add a sources.list file to the Ubuntu packages repository. Open a terminal window and enter the commands below.

$ sudo cp -p /etc/apt/sources.list /etc/apt/sources.list_backup <enter> $ sudo vi /etc/apt/sources.list <enter> Now add the line: deb http://ppa.launchpad.net/speed-dreams/ppa/ubuntu raring main <enter> :wq $ sudo apt-get update <enter>

Now you can . . . → Read More: Add repository to sources.list file in Ubuntu

The following packages have been kept back: Message in Ubuntu when updating packages

If you used the instructions at this post to update your Ubuntu Linux packages, basically, apply patches, you get the following message at times:

The following packages have been kept back: <list of packages>

This basically prevents the packages listed from getting updated. To overcome this issue, there are two ways: 1. Run sudo apt-get . . . → Read More: The following packages have been kept back: Message in Ubuntu when updating packages

Remove or Purge package in Ubuntu

Ubuntu offers two options to remove packages. When you remove packages, you only remove the packages, but not their configuration files. Enter the following command to remove a package in a terminal window. $ sudo apt-get remove packagename <enter>

When you purge packages, you remove the packages and their configuration files. Enter the command below . . . → Read More: Remove or Purge package in Ubuntu

Upgrade virtualbox on Ubuntu

If you have installed VirtualBox on Ubuntu 12.04, you can download the latest package from http://www.virtualbox.org.

You can then install it in a terminal window using dpkg. It will be upgraded, if already installed.

$ sudo apt-get upgrade virtualbox*.deb <enter>

How to remove Swiftfox in Ubuntu 12.04

If you have installed Swiftfox, an alternative browser to Firefox, in Ubuntu 12.04, you can remove it using the following command in a terminal:

$ sudo apt-get install aptitude <enter> $ sudo aptitude purge swiftfox-prescott <enter>

If you try to remove it with apt-get or dpkg, you will not find the package. However, aptitude finds . . . → Read More: How to remove Swiftfox in Ubuntu 12.04

Install Synaptic Package Manager in Ubuntu

If you do not want to use the Software Center, you can download and install synaptic to manage packages.

Open a terminal window, then enter the command below at the $ prompt.

$ sudo apt-get install synaptic <enter>

Install MyUnity for finer control over Unity desktop

You can control the Unity desktop more finely, by installing the MyUnity package. MyUnity allows you to change more settings than the default allowed by Ubuntu. You can install MyUnity using the following command:

$ sudo apt-get install myunity <enter>

Install ubuntu restricted extras repository

$ sudo apt-get install ubuntu-restricted-extras <enter>

Use this to install the restricted codecs, fonts, and more for your Ubuntu, Xubuntu or Lubuntu Linux installation.

December 2017
M T W T F S S
« Aug    
 123
45678910
11121314151617
18192021222324
25262728293031