Translate

Showing posts with label Linux Commands. Show all posts
Showing posts with label Linux Commands. Show all posts

Monday, July 8, 2019

Ubuntu: How to install an old Firefox version





If you want to install an old version of Firefox, you just have to follow these steps:

In this case, I had Firefox 4.5.0 and now I want to install Firefox 47.0.1


First, open your terminal


  1. Download firefox 47.0.1

    wget https://ftp.mozilla.org/pub/firefox/releases/47.0.1/linux-x86_64/en-US/firefox-47.0.1.tar.bz2
  2. Unzip Firefox

    tar -xjvf firefox-47.0.1.tar.bz2
  3. We remove the old version

    sudo rm -rf /opt/firefox*
  4. we move the unzip firefox 47.0.1 to the firefox folder

    sudo mv firefox /opt/firefox
  5. create symbolic link

    sudo ln -sf /opt/firefox/firefox /usr/bin/firefox

Wednesday, June 29, 2016

How to downgrade Firefox Version on ubuntu


In  this tutorial I will show you how to downgrade your firefox version in this case from firefox 47.0 to 45.

First run this command:


apt-cache show firefox | grep Version

then you will see a list of available Firefox versions:


  • Version: 47.0+build3-0ubuntu0.16.04.1
  • Version: 45.0.2+build1-0ubuntu1

Now, run the next command to install the desired firefox version

sudo apt-get install firefox=28.0+build2-0ubuntu2


Finally, you have to avoid upgrading to the newer version.


sudo apt-mark hold firefox

And that's all.



If for any reason you do not see the version that you want, that means that version is very old.
To install a very old version of Firefox, you need to do the following:



1. First you must uninstall your current Firefox version.

  
$ sudo apt-get purge firefox

2. Then run the following command to download firefox 47.0 source code, which comes as .tar file.

 
$ wget http://ftp.mozilla.org/pub/firefox/releases/47.0/firefox-47.0.linux-i686.sdk.tar.bz2



3. Extract the package.

 $ tar -xjf firefox-47.0.linux-i686.sdk.tar.bz2


4. Move firefox to /opt directory.

 $ sudo mv firefox /opt/


5. Create symlink in order to set the new Firefox as default.

$ sudo mv /usr/bin/firefox /usr/bin/firefox_old
$ sudo
mv /usr/bin/firefox /usr/bin/firefox_old



6.  Avoid upgrading to the newer version.

$ sudo apt-mark hold firefox



Note: This is the original source [here]

Sunday, June 26, 2016

How to install GIT on Ubuntu from command line


To install GIT on Ubuntu what you have to do is following these steps:

  1.  Type this command on your terminal:

sudo apt install git



      2. Add your configuration:


git config --global user.email "your_email@example.com"
git config --global user.name "Your Name"

How to install Mysql on Ubuntu from command line




To install Mysql on Ubuntu what you have to  do is type  the following command:

sudo apt-get install mysql-client mysql-server

and then you will see something like this:


What you have to do there is type the  password for the root user.

and that's all.

Good luck!!!!!

Saturday, March 19, 2016

How to updgrade Google Chrome in Ubuntu

Upgrade google chrome



If you want to upgrade your current chrome you must  open your terminal and write these commands:


  

$ sudo apt-get update

$ sudo apt-get install google-chrome-stable

It is important to note that, these commands either upgrade or  install Google Chrome on your computer.

Thursday, February 18, 2016

Linux Command Shell : how to make Apache owner of folder

If  you need to make Apache owner of a specific folder, you can  achieve it , by executing the following  Linux command:

  
     chown -R apache /var/www/symfony_app/My_Folder/
   
This command will cause Apache is the owner of the folder and the contents in it.




Monday, August 10, 2015

How to create a symbolic Link in linux



Basically, to create a symbolic  link in Linux you have to use the  command called ln as follows:
  
    ln -s /var/www/myapp/web/ /html/customerapp

  
the command ls has two parameter the target(/var/www/myapp/web/) and the source (/html/customerapp). The target  is the existing file/diretory and the source the file to be created.


Tuesday, July 14, 2015

How to find which Linux distribution and version you are using?





To know  which Linux distribution and version you have installed on your computer,  follow this  steps:

1-Open your terminal
2- Type the following command

 cat /etc/issue




Output: