Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Aug 112010
 

Upgrade Packages in Ubuntu

Answer:

From time to time, packages will release new version so your installed packages will also need to keep updated.

To upgrade your system, first update your package index by

# sudo apt-get update

Than upgrade the packages

# sudo apt-get upgrade

Aug 062010
 

Update the Package Index in Ubuntu

Answer:

In Ubuntu, the package index is managed by the Advanced Packaging Tool (APT).

The index of all the available packages from the repositories is defined in the file /etc/apt/sources.list file.

To update this package index, use the following command.

# sudo apt-get update

That is it.

Aug 052010
 

Install the Lucid Light Themes (Radiance and Ambiance) in Ubuntu 9.10

Answer:

The new Lucid Light themes (Radiance and Ambiance) in Ubuntu 10.04 is very nice and it can also be used in older version of Ubuntu such as Ubuntu 9.10, so you don't need to upgrade if you only want the new themes.

What you need to do is the following (for Ubuntu 9.10).

1. Add the repository
# sudo add-apt-repository ppa:nilarimogard/webupd8

2. Install all the needed files
# sudo apt-get update && sudo apt-get install gtk2-engines-murrine ubuntu-mono light-themes gtk2-engines-aurora

3. Change it in action

Reference: http://www.webupd8.org/2010/03/ubuntu-lucid-light-themes-radiance-and.html

Aug 042010
 

Install sun-java-jdk in Ubuntu 10.04

Answer:

To install the offical Sun (now Oracle) JDK in Ubuntu 10.04, you need to do the following in terminal.

1. Add the extra repository

# sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"

2. Update the local package index

# sudo apt-get update

3. Install the JDK and plugin

# sudo apt-get install sun-java6-jdk sun-java6-plugin

4. And finally, change you system to use the newly installed JDK.

# sudo update-java-alternatives -s java-6-sun