Ubuntu: PPAs you should have installed or have in mind

How to install PPAs

 

Faster updates and installs: apt-fast

What is apt-fast:

A script that uses command line download accelerators. It drastically improves updating and installing

How to install:

sudo add-apt-repository ppa:apt-fast/stable
sudo apt-get update
sudo apt-get install apt-fast

In future you use apt-fast everywhere you would’ve typed apt-get

Example

sudo apt-fast update
sudo apt-fast upgrade
sudo apt-fast install
sudo apt-fast autoremove

Manage PPAs easily: y-ppa-manager

What is y-ppa-manager:

A tool for easy management of PPAs. You can remove/purge, update and edit source, as in the screenshot.

y-ppa-manager

How to install:

sudo add-apt-repository ppa:webupd8team/y-ppa-manager
sudo apt-get update
sudo apt-get install y-ppa-manager

Extend battery life: tlp

What is tlp:

A command line tool that automatically applies tweaks to reduce your battery usage

How to install:

sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
sudo apt-get install tlp tlp-rdw

It will automatically start at system start-up after you restart for the first time. However if you want to start it as fast as possible:

<codesudo tlp start

Java7: oracle-java7-installer or openjdk-7-jdk

What is the difference between JRE and JDK:

JRE (Java Runtime Environment) installs the Java Virtual Machine and enables you to use any java program on your machine

JDK (Java Development Kit) does everything JRE does and also installs the development tools to compile, debug and document your java programs.

Installing JDK from the get-go is better, so I’ll show you how to install JDK in case you decide to develop java programs in the future.

What is the difference between openjdk and oracle jdk?

How to install Oracle Java7 JDK:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

How to install OpenJDK Java7 JDK:

sudo apt-get install openjdk-7-jdk

How to test if it’s installed correctly:

Try running:

java -version

It should return something similar to:

java version "1.7.0_51"
OpenJDK Runtime Environment (IcedTea 2.4.4) (7u51-2.4.4-0ubuntu0.13.10.1)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)

Development with Sublime Text: sublime-text-2 or sublime-text-3

Difference between ST2 and ST3:

Some plugins don’t have support for ST3 yet. If you’re just starting to use Sublime Text you won’t care about the support of plugins you don’t know, so go for ST3.
But if you’re already a ST2 user, wondering if you can switch to ST3 -> check with Can I switch to Sublime Text 3?

How to install ST2 anyway

sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text-installer

How to install ST3:

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer

Stop hurting your eyes, use Redshift/f.lux: gtk-redshift or fluxgui

What do both programs do?

They adjust the color temperature of the screen to adapt to the day time. If you’re an early rise or a night owl (like me), you should stop blinding yourself and use Redshift or f.lux

What to install

I suggest Redshift because f.lux isn’t supporting Ubuntu 13.10 and probably won’t support future versions (if not updated by the developer)

How to install

sudo add-apt-repository ppa:jonls/redshift-ppa
sudo apt-get update
sudo apt-get install gtk-redshift

I suggest gtk-redshift over redshift. gtk-redshift has a toggle tray so you can toggle it on/off and quit it at any time

How to use it

Get your latitude and longitude
Example command:
gtk-redshift -l YOUR_LATITUDE:YOUR_LONGITUDE -t DAY_TEMP:NIGHT_TEMP -g GAMMA -v
You can use my settings replaced with your latitude/longitude:
gtk-redshift -l 42.697839:23.321670 -t 5700:3600 -g 0.8 -v

That’s all. If you have any suggestions, comment and I’ll add them

Advertisements

One comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s