HTML Tidy is a tool for checking and cleaning up HTML source files. It is especially useful for finding and correcting errors in deeply nested HTML, or for making grotesque code legible once more.
Project URL, source code and executable downloads: http://tidy.sourceforge.net/
I installed it on CentOS 4.6 by following the below steps, it should work fine on any Linux distro
Step 1: Go to http://tidy.cvs.sourceforge.net/viewvc/tidy/tidy/ and click on “Download GNU tarball” at the bottom. This will download a file named `tidy.tar.gz`.
Step 2: Untar the file by below command
Step 3: Change directory to the generated folder
Step 4: Run the below commands
Step 5: Tidy has been installed successfully, you can check the version by
Output: HTML Tidy for Linux/x86 released on 25 March 2009
Here we are going to tell you how to install Adobe Flash Player Plugin 11.2 on Fedora 18/17/16/15/14/13/12, CentOS 6.3/6.2/6.1/6/5.8 and Red Hat (RHEL) 6.3/6.2/6.1/6/5.8. Using YUM repository provided by Adobe it is very to install and update Flash Player Plugin. Finally native 64-bit(x86_64) version of Adobe Flash Player is made available for Linux users.
Change to root user:
Install Adobe YUM Repository RPM package:
For 32-bit x86-
rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
For 64-bit x86_64-
rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
Update the repositories:
Install Adobe Flash Player 11.2 on Fedora (18/17/16/15/14/13/12), CentOS (6.3/6.2/6.1/6) and Red Hat (RHEL) (6.3/6.2/6.1/6):
yum install flash-plugin nspluginwrapper alsa-plugins-pulseaudio libcurl
Install Adobe Flash Player 11.2 on CentOS 5.8 and Red Hat (RHEL) 5.8:
yum groupinstall "Sound and Video"
yum install flash-plugin nspluginwrapper curl
GIMP 2.8 RC1 was released on April 8, 2012. The details of this new release are on the official site. Here in this article I’ll show how to install GIMP 2.8 on Ubuntu 12.04.
A PPA for GIMP is now available, we’ll use it for easy installation of GIMP 2.8 RC1. Open up your terminal and type the commands given below:
and you’re done. GIMP 2.8 RC1 has been successfully installed on your Ubuntu 12.04.
Eclipse is an integrated development ennvironment primarily for Java but with the extra plugins it can also be used to develop applications in C, C++, PHP, Scala, etc.
Here we are explaining How to install eclipse on linux. Distros covered are Fedora, CentOS and RHEL.
Go to www.eclipse.org/downloads/ and select suitable version according to your needs.
We are extracting the Eclipse package into /opt directory.
Paste following code in the file.
#!/bin/sh export ECLIPSE_HOME="/opt/eclipse" $ECLIPSE_HOME/eclipse $*
You are done!
LibreOffice, no doubt a great office suite, doesn’t come pre-installed with major Linux distributions so here we are explaining how to install Libreoffice 3.4.5 or 3.5 on Fedora, CentOS and RHEL. Well you have a privilege of installing LibreOffice on Fedora 16 through command line. Following code can do the trick :
yum install libreoffice
Above code will install latest version of Libreoffice. We have more than that in the box, tutorial to install different versions of Libreoffice on Fedora, CentOS and RHEL.
Libreoffice 3.4.5 32-bit stable version
LibreOffice 3.4.5 64-bit stable version
LibreOffice 3.5.0 RC3 32-bit stable version
LibreOffice 3.5.0 RC3 64-bit stable version
tar -xvf LibO_3.4.5_*
tar -xvf LibO_3.5.0*
rpm -Uvh RPMS/*.rpm
rpm -Uvh RPMS/desktop-integration/libreoffice3.4-redhat-menus-3.4*.noarch.rpm
rpm -Uvh RPMS/*.rpm
rpm -Uvh RPMS/desktop-integration/libreoffice3.5-freedesktop-menus-3.5*.noarch.rpm
..and you are done!
VLC is an open-source media player whose latest version VLC 2.0 was released some days ago.
This new version includes multi-threaded decoding for a variety of popular formats. New audio and video filters have been added in this update. Blu-ray support has also been added. MKV demuxer has been improved. Broadcom CrystalHD hardware decoding is now available and some minor changes have been done on the interface.
Ubuntu 12.04 users can install VLC 2.0 directly from the Ubuntu Software Center.
Ubuntu 11.10 users will have to use the commands given below to install VLC 2.0
Recently Linux Mint’s developer team released Cinnamon for Linux Mint 13 which is the new desktop environment, it follows the layout of traditional desktops. If you want to try out Cinnamon but you don’t have Linux Mint installed on your system and you are using Ubuntu instead, then you can use the method given below to install it on your Ubuntu machine.
Cinnamon is available in a PPA (personal package archive) for Ubuntu. First of all open the terminal and run the following command:
Press Enter when it prompts you. After that update the available packages list by running the command given below:
Now you can install Cinnamon with this command:
Press Y and Enter when it prompts you.
If you are not using Ubuntu then you can go to Cinnamon’s official page to find instructions on how to install cinnamon on your distribution.
Installing Cinnamon will not replace your default Ubuntu desktop environment. It will just add an option of Cinnamon at your login screen. To enable Cinnamon log out from your current session and from the login screen select Cinnamon and log back in.
What you see now is Cinnamon. Start playing with it and check out its features.
If autologin is enabled in your system then every time the system gets rebooted it will come up with unity by default, then you will have to logout each time you want to switch back to Cinnamon. It will be better to make Cinnamon your default desktop environment, here’s how to do that.
You will see Ubuntu’s global menu bar is still there (at the top of the screen). If you want to remove it then run the command given below, log out and log back in:
If you want to get it back then use the same command by replacing “remove” with “install”
RPM was the most famous way of installing packages on a Red Hat based linux box, nowadays other distros are also using RPM to support their software, Suse and Mandriva fall in the zone. RPM stands for Red Hat Package Manager. RPM lets you install a package, upgrade and uninstall the same. It also allows a querying functionality which lets one know about already packages installed on the system.
RPM packages are those with a .rpm extension. RPM packages contains the actual software to be installed and other files that are needed to carry out its installation. RPM packages are distributed distro specifically. Any attempt to install one distro-specific package on another distro might result in undesired consequences. You have been warned !
Graphical installation tools install a package in few clicks but here discussed is old school command line method which has its own legacy.
From here on, you need to have root’s privileges.
To install rpm package, rpm command is used along with -i option which clearly stands for “install”:
rpm -i package.rpm
Packages are subjected to regular upgradations, to update an installed rpm package, engage following code.
rpm -U package.rpm
On a fine day, everything will go well and the rpm package will be installed on your system ready to be launched from command line. Installed software, rather than creating its own directory, goes into pre-created linux directories. Executable files find their path to specific bin directories. To shoot the program from command line, the whole path is not needed just the program name is sufficient.
If things go south during installation, it can be very irritating. Most famous error that comes up is due to failed dependency. Dependencies are the packages that are needed for installing package to mover further in installation process. They are just software that are needed for proper functioning of the package being installed. While installing, the database is checked for needed packages, if not present, it stops the installation process due to failed dependency.
To rectify, one way is to install/upgrade those missing packages (don’t worry it will tell you which packages are not present ) then continue with the current installation. Some times, this error is as meaningless as ‘ay’ in ‘okay’. An entry is made in database only when the package is installed via rpm. If any other method is used, the entry is not made and despite presence of files, “failed dependency” error shows up.
When you are sure that the needed files are already on your system, you can skip the dependency check and install rpm package anyway.
rpm -i package.rpm --nodeps –nodeps option installs it without checking for dependency.
If you try to fool your system by going with –nodeps right away, the program won’t work at all.
rpm command along with -e option is used to remove a package installed with rpm.
rpm -e package.rpm -e is for “erase”
Note: While installing rpm package we included the whole package name but at the time of removing- only the program name can be used ignoring the extension.
rpm -e package This code works the same as above.
It removes all the files related to that package and also deletes the entry from database. Manually removing individual files will not affect database which can lead to dependency errors in future.
As mentioned earlier in the very article, the database knows what packages are installed on the system. The database can be queried to check if certain package exists on the database. For a single package query, command goes like:
rpm -q package
If the package is present, it returns the version of package installed, else, it says the package is not installed.
To list all the rpm packages installed on the system, run :
To check for certain package in the list, “grep” can be used. We will cover that later, stay tuned.
Ubuntu users are used to using Synaptic for their software needs and the other user chunk has apt-get via command line. But Ubuntu users don’t have to be sad for those packages which are still distributed in RPM format. Installation of RPM packages can be checked here.
If an Ubuntu user wishes to install a RPM package, a utility is created for this purpose and is called Alien. This doesn’t guarantees that the package will work, its actually a software that converts format of the package. In order to install Alien some prerequisite software are also required including gcc and make.
To install Alien utility, following code should be executed:
sudo apt-get install alien dpkg-dev debhelper build-essential
For performing conversion, run the following command:
sudo alien SomePackage.rpm
To continue with the installation, dpkg tool can be used as follows.
sudo dpkg -i SomePackage.deb