Nov 25 2015

How to install “Brackets” in Ubuntu 15.10 – Get around Dependency is not satisfiable: libgcrypt11 >=1.4.5 error

In this post I will show you how to install Brackets , an open source code editor from Adobe and how to get around the dependecy error (Dependency is not satisfiable: libgcrypt11 >=1.4.5) if it pops up when you try to install Brackets.

I’m using Brackets as part of a web development course and really like it.

Installing is quite easy as per below:

  1. Open your browser and go to the Brackets Website.
  2. Click on Download Brackets without Extract to download the deb package file.
  3. Browse to the downloaded deb package file and double click it. This action will open the Ubuntu Software Center.
  4. Brackets should install and you you will be able to use it after the installation finished. If you get the error below check the below Dependency installation section.

bracketsdependency

Installing the libgcrypt11 dependency:

  1. If you receive the above error clink on this link to download libgcrypt11
  2. Browse to the path where you downloaded the libgcrypt11 deb package and double click the deb package.
  3. This will open the Ubuntu Aoftware Center and install libgcrypt11
  4. Browse to the Brackets deb package and double click the deb package for Brackets.
  5. Brackets should now install without any errors.

For a visual guide please watch the below video I created to show how I installed Brackets on Ubuntu 15.10

 


Jul 22 2015

How to install HP printer/scanner in Ubuntu 15.04

I had to install my HP OfficeJet in Ubuntu 15.04. I need it to scan and print using the printer’s wireless function and to do that you need to install HPLIP as per my below video.

The articles I used are:

http://hplipopensource.com/hplip-web/install/manual/distros/ubuntu.html

and

http://hplipopensource.com/hplip-web/install/manual/hp_setup.html ( I had to run sudo hp-install -i to setup the printer as I received GUI errors and was not in the mood to find out why)

 


May 26 2015

How to access a Bitlocker encrypted Windows disk using Ubuntu 15.04

Today has been one of those days where you think to yourself. “Self, you should have backed up your data more often!”

My work laptop running Windows 8.1 decided to commit suicide. The laptop froze up and when I rebooted I received an error stating that werkernel.sys is missing and it won’t boot in to Windows.
I took the laptop in and IT tried recovering Windows but could not get it repaired. The problem is that we use Bitlocker which meant it would be a challenge to just boot up with a Live Linux Distro and copy off my needed data.

After a few hours I managed to access my Bitlocker encrypted drive using Ubuntu Gnome 15.04. Below are the steps I followed from different articles. Please see the links to the articles below.

1. First you need to find your Bitlocker recovery keys. This is the most important part as without them, well I hope you have a recent backup 😉
2. Click Find your Bitlocker Keys to find out how to get your Bitlocker keys.
3. Download Ubuntu Gnome 15.04. I refer to it as that is the distro I used.
4. Install the image to a USB stick. (Don’t be lazy, search the internet on how to do this)
5. Boot your computer with the USB stick. When the menu appears choose the option to try Ubuntu, not install Ubuntu.
6. Once Ubuntu has loaded to the desktop, press ctrl+alt+t to open the terminal.
7. In the terminal type mkdir /media/windows and press enter.
8. In the terminal type mkdir /media/mount and press enter.
9. Open Firefox and download Download dislocker. You want to download the file named dislocker.tar.bz2
10. After the download browse to Downloads and right click on dislocker.tar.bz2. Choose extract file.
11. Go back to the terminal and type sudo apt-get install libpolarssl-dev libpolarssl-runtime libfuse-dev and press enter.
12. In the terminal type cd /Downloads/dislocker/src
13. In the terminal type sudo make and press enter.
14. In the terminal type sudo make install and press enter.
15. In the terminal type cd /usr/bin and press enter.
16. In the terminal type fdisk -l and press enter. Note which disk is the one that is encrypted. It should be something like sda1 or sda2 etc.
17. In the terminal type sudo dislocker -r -V /dev/sda1 -p315442-000000-000000-000000-000000-000000-000000-000000 — /media/windows and press enter.(note that the sda1 needs to correspond to the disk you noted down when running fdisk -l and the 0’s are where you enter your Bitlocker key. Also not the space before and after the — )
18. In the terminal type cd /media/windows and press enter. (if that does not work and you receive an error first type sudo -i and then cd /media/windows)
19. In the terminal type mount -o loop,ro dislocker-file /media/mount and press enter. (I needed to include ,ro as I could not grant myself full access and read only helped as I only needed to copy data to an external disk)
20. You should now see a pop-up asking if you’d like to open the drive/disk. Click on open and access you Bitlocker encrypted disk.

I used the below articles/Forum posts to get this working and would like to thank all the contributors on those pages.

superuser.com

Tux Diary

 


May 20 2015

How to install PyCharm on Ubuntu Gnome 15.04

A video showing you how to install PyCharm in Ubuntu 15.04.

1. First you need to install Java
2. Then download and run PyCharm as per below instructions

1. Open your Terminal and type: sudo apt-get purge openjdk* (This will get rid of older versions)
2. Add the repository. In terminal type: sudo add-apt-repository ppa:webup8team/java
3. Update cache by typing this in terminal: sudo -apt-get update
4. Install Java by running this in terminal: sudo apt-get install oracle-jave8-installer
5. Download PyCharm from http://www.jetbrains.com
6. Extract the downloaded file: tar -xf pycharm-community-versionnumber.tar.gz
7. cd to the folder name you extracted
8. cd to the PyCharm folder/bin
9. From within the BIN folder type ./pycharm.sh

All the steps above are done from the terminal


May 20 2015

How to install Skype in Ubuntu Gnome 15.04

Today I will show you how easy it is to install Skype 4.3 in Ubuntu Gnome 15.04. This should also work in Ubuntu 15.04.

All steps are below the video if you wish not to watch the video and just follow the step by step guide.

1. Open Software and Updates
2. Click on “Other Software
3. Check the check boxes next to Canonocal Partners and Canonocal Partners (Source Code). Enter your password when prompted
4. Click on Close to close the Software and Updates window
5. Open your Terminal (ctrl + alt + T is the short cut to open the terminal)
6. It’s good practice to run sudo apt-get update before installing an application to get the latest updates
7. Now type sudo apt-get install skype skype-bin in order to install Skype 4.3
8. Type y to continue
9. All the needed files will now be downloaded and Skype 4.3 will be installed.
10. Skype your mom and tell her how much you love her. (Optional of course 😉 )

 

 

 


May 6 2015

Guide to install PyQt step by step in Ubuntu Gnome 15.04

I’m currently doing a course on Python GUI development and needed to install PyQt4 on my Ubuntu Gnome 15.04 desktop which gave me some stumbling blocks. Through lots of testing and research I managed to get it installed and decided to create a step by step guide on installing PyQt4 on Ubuntu 15.04.

You can view the steps below the video.

Below are the steps I took to get everything installed and working:

1. download sip from Riverbank Computing
2. download PyQT from Riverbank Computing
3. In the terminal run: sudo apt-get install python3.4-dev and then run: sudo apt-get install build-essential) too
From the terminal run: sudo apt-get install qt4-dev-tools libqt4-dev libqt4-core libqt4-gui
4. Browse the folder in which you downloaded sip and extract the archive. Now browse to the extracted folder using the terninal
5. In the terminal run: sudo python3.4 configure.py
6. In the terminal run: sudo make
7. In the terminal run: sudo make install
8. Extract the PyQt archive you downloaded. Now browse to the extracted PyQt folder in the terminal
9. In the terminal run: sudo python3.4 configure.py
10. In the terminal run: sudo make
11. In the terminal run: sudo make install

PyQt4 is now installed and ready for some love

 


May 20 2014

Installing ssh on Ubuntu 14.04

This is a quick video clip to show you the steps to install ssh on Ubuntu 14.04

Remember to watch in 720p or 1080p


Jul 7 2013

How to install the GUI for Ubuntu Server

I’m busy installing a server for my dad’s home and need a Graphical User Interface (GUI) for him to manage the server. I decided to install Kubuntu on my Ubuntu Server that I’m testing in virtual box. We are planning on getting him a Raspberry Pi running RaspBMC and the choices are OpenMediaVault or Ubuntu server to be the media server hosting his media to be streamed from.

Still deciding which way to go but here is a short tutorial on how to get the GUI installed on an Ubuntu Server after you have finished installing the Ubuntu Server Operating System.

1. After the server has booted you need to logon with the user name and password you set in the Ubuntu installation.
2. Now update Ubuntu by running: sudo apt-get update
3. After the update has downloaded the needed packages and finished the installation run: sudo apt-get install ubuntu-desktop (this will take some time to download the packages and install Kubuntu)
4. After the installation run: sudo reboot
5. Now you will load into the GUI and Windows users should be quite comfortable to use Ubuntu

Here’s a video of the test installation: