Wednesday, December 31, 2014

The plan for 2015.

With it being the end of 2014 and tomorrow being 2015 I thought I'd talk about what I plan on doing next year so you all have an idea of what to expect on both of my blogs. This post is mainly going to be about this blog and I will do another post on my LEGO blog talking about what I'm going to be doing over on that one as well.

As you may have noticed there hasn't been that much activity on this blog for a while mainly because I've been struggling to think of content for it to be honest however this will hopefully change next year. The one thing I do know is I'm hopefully going to be posting up more tutorials about various things. I'm not sure about anything else yet but hopefully I can be a bit more active next year.

Fairly short one but I think that's everything I wanted to talk about so thanks for reading and have a happy New Year. :)

Friday, May 16, 2014

How To: Install and update packages in Ubuntu 14.04

In this guide i will show you how to install, uninstall and update packages on your Linux Ubuntu system. There are several different ways of installing and upgrading packages.(programs, applications) They are: The Synaptic Package Manager, The Update manager, The apt-get command and downloading and installing them manually. You may need to use the “sudo” command with the commands that are in this guide if you keep getting permission denied errors. To use it just type it like this:

sudo apt-get options

Then when prompted put in your password and hit enter. Where options is the different options that you put after the apt-get command.

First we’ll have a look at installing packages using the apt-get command. First you will need to update the package list. This is basically a list of all the packages that you can install and the reason you need to update the package list is so you can get the latest versions of the packages. You can do this by typing this into the terminal and hitting enter:

apt-get update

To upgrade any packages that have newer versions available type this:

apt-get upgrade

To download and install a package from the Ubuntu online repository all you need to do is open a terminal and type in this:

apt-get install packagename

Where packagename is the name of the package you want to install. To remove a package type:

apt-get remove packagename

The Synaptic Package Manager is like a graphical apt-get command. With it you can install, upgrade and uninstall thousands of packages. This is the easiest way to install, upgrade and uninstall packages if you are new to Linux.

On the left are filters which you can use to filter the packages into category's. On the upper right section is the package list which lists all the packages that's in the selected category. The bottom right section is where a description is of the package that is selected.

To install a package all you need to do is select the package you what to install by clicking in the small check box to the left of the package name and then selecting “mark for installation” from the drop down menu. To remove a package click on the small check box to the left of the package name and select “Mark for removal”. Then when your done click the “Apply” button and in the window that comes up simply click “Apply”.

The Software Updater just handles updates. This is the easiest way to keep your system up to date.

The Software updater will automatically check for any updates and if there are any updates for your system they will be listed in the box in the middle of the window. Then all you do is click the “Install Now” button to install the updates.

Last we’ll have a look at manually downloading and installing packages. Ubuntu is based on Debian GNU/Linux so the package format that it uses is .deb. To install .deb packages you will either need Gdebi (A graphical tool to install .deb packages. The easy way.) or you will need to use the dpkg command.( The harder way.)

The Gdebi tool normally come with the standard Ubuntu install so you should already have it installed on your system. If not then just install it like so:

sudo apt-get install gdebi

And that should install the Gdebi tool.

To use the Gdebi tool to install a .deb package all you need to do is download the .deb package you want to install and then double click on the .deb package in the file browser window. Then just click the “install package” button. As you can see there is three tabs. Description, Details and Included files. All fairly self explanatory.

To install .deb packages with the dpkg command all you need to do is open a terminal window and type in this:

dpkg -i filename.deb

Where filename is the name of the package you want to install. To remove a package with dpkg type this:

dpkg -r packagename

Where packagename is the name of the package that you want to remove.

That’s all. now you should be able to keep your system up to date and be able to install and remove packages on your system.

How To: Checking Your Temperatures In Linux

In this How To i will show you how to check your temperatures in Linux. This works on all Debian based Linux distros. You will need to install two packages to read your temps. These are: lm-sensors and hddtemp. To install them type this into a terminal:

sudo apt-get install lm-sensors hddtemp

And type in your password when prompted. Once they've installed run this command:

sudo sensors-detect

and type in you password when prompted. This command scans your computer for any sensors it can find. It will ask you whether you want to scan for different types of sensors. Say yes to all these questions. When it's done it will show a list of drivers that are needed for the sensors that it finds. It will ask if you want to add these drivers to your "/etc/modules" file. Say yes here. Now when you type in this command:

sudo sensors

And type in your password when prompted. It should display the temperatures of all the sensors it found as well as any fan speed sensors.

To use hddtemp just simply run this command (and type in your password when prompted.) and it should display the temperature of your hard disk:

sudo hddtemp /dev/sda

Note: This part "/dev/sda" might be different on your computer. If "sda" doesn't work try "hda". Also if you have multiple hard drives then to check you second one replace "sda" with "sdb". Linux orders hard drives alphabetically so your first hard drive would be "sda" your second would be "sdb" your third "sdc" and so on.

And thats all there is to it.

Tuesday, February 25, 2014

My Personal PC Build, Part 4

Well it's been a while but I've finally got a new case and bigger hard drive for my main PC. Hard drive wise I got a 1TB 3.5" Seagate 7200rpm SATA hard drive so I finally don't have to worry about hard drive usage any more. As for the case I got a CoolerMaster silencio 352. A very nice Micro ATX case that fits all the hardware in it that I want and has a bit of room for upgrades. Here it is:

Looks good doesn't it?
And some pictures of the interior.

Excuse the cables as this case doesn't have much in the way of cable management on the other side as you will see in the next picture.

As you can see you can get away with thin cables but anything thicker than the 4 pin CPU power cable won't fit as there is a lip at the bottom of the motherboard tray.
The rear of it. All fairly standard.

Finally an overall shot.
So now that I've finally got a decent case and a bigger hard drive the next things I want to upgrade are the motherboard and CPU as I could do with a bit more CPU performance and the best way for me to do that is to move up to a newer generation Intel socket and processor. I could also do with a bit more RAM as I only have 4GB but it's gotten ridiculously expensive (8GB for around £60 to £70 quid. I got my 4GB for around £15 quid.) so yeah I'm going to wait and see if it does come down to a reasonable price.

The other major upgrade I want to do is the graphics card. I've been thinking about the most cost effective way of upgrading to a better graphics card however as I only have a 400W PSU it does limit what you can use a bit. As anything higher than my GTX 650 would really require a better PSU which would cost around the £40 to £50 quid mark for a decent one which is a lot when you add that on top of a new graphics card so I was a bit stumped until I heard that the new Nvidia GTX 750 TI would only use about the same amount of power as my GTX 650 but have quite a bit more performance compared to my GTX 650 so currently that is the graphics card I'm aiming for.

And that wraps up this post. Hopefully I can post a bit more regularly instead of every 3 or 4 months. You never know I guess...