How to search for installed .deb and dpkg packages in Linux !

Debian packages or .deb files are the default package format in Ubuntu Linux and other Debian related distro’s. Many times we need to find the correct package installed also we might need to search for a particular installed package in some directory then the below given tutorial comes very handy.

dpkg is a command line tool that you use to install, build, remove and manage Debian packages. dpkg maintains some usable information about available packages. You can search for a filename from installed packages using dpkg -S command. For example, find out package name for /bin/ls, enter:
$ dpkg -S /bin/ls
Sample output:

coreutils: /bin/ls

You can also obtain detailed status information about coreutils package, enter:

$ dpkg -s coreutils

You can also use dpkg-query command which is a tool to show information about packages listed in the dpkg database. The -l option search for a filename from installed packages. All standard shell wildcards can be used in the pattern. This command will not list extra files created by maintainer scripts, nor will it list alternatives.

# dpkg-query -l 'google-chrome'

The output is as follows:-

apt-file Command

You need to install apt-file command which is a command line tool for searching files in packages for the APT package management system:

# apt-get install apt-file
# apt-file update

To search in which package a file is included, enter:

$ apt-file search date

This is a quickie on how install, uninstall, and search for applications/packages in Ubuntu Linux from the Terminal window.

apt-cache search firefox

firefox being the full or partial name of the package/application for the mozilla firefox browser.

That’s it for now.

Njoy !

via:- askubuntu.com

Ubuntu – How to install or upgrade to Gimp 2.8.X !

The all time favorite alternative for Photoshop for Linux users the Gimp has been upgraded now to version 2.8.10 and for the people who are not aware of what gimp is then here is a brief description of it.

GIMP (GNU Image Manipulation Program) is an image retouching and editing tool, and is released under the GPL v3 license as free and open-source software. There are versions tailored for most operating systems including Windows, Linux and Mac OS X.

GIMP has tools used for image retouching and editing, free-form drawing, resizing, cropping, converting between different image formats, and more specialised tasks. Animated images such as GIF and MPEG files can be created using an animation plugin.

What Got Fixed:

  • Move the OSX gimpdir to “~/Library/Application Support”
  • Better names for the default filters in save and export
  • Make tool drawing (esp. the brush outline) much more responsive
  • Remember the “maximized” state across sessions
  • Simplify the splash image code a lot, makes it appear immediately again
  • Allow the text tool to start on an image without layers
  • Various fixes for text style attribute handling
  • Set unconfigured input devices to eraser if GTK+ says they are erasers – Make language selectable in Preferences on OSX

To install it in Ubuntu, press Ctrl – Alt – T keys on  your keyboard to open the terminal. When it open, run the commands below to add this PPA.

sudo add-apt-repository ppa:otto-kesselgulasch/gimp

Finally, run the commands below to update your system and install GIMP.

sudo apt-get update && sudo apt-get install gimp

Njoy !

via:- askubuntu.com & gimp.org

How to Encrypt directories in Linux Mint – the GUI way, Cryptkeeper !

Ever wondered how to make encrypted folders or directories in linux mint without the command line. Well this tutorial would help you to create and mount a directory in a GUI fashion without even touching the terminal. In the backend we would be using a tool called EncFS, which uses FUSE library and Linux kernel modules to provide the filesystem without special requiring permissions.

The tool is designed to be used from your desktop toolbar without using any commands. It’s especially useful if you’re new to Linux.

How to install Cryptkeeper:-

Click on Menu = > Software Manager and then search for cryptkeeper

Now you need to enter the root password and as a superuser install this tool and then open the tool by hitting Menu and then searching in the Search box for cryptkeeper. Note that after you installed Cryptkeeper, by default it won’t open and dock on the system tray, that’s because only approved programs are allowed to dock on the system tray in Ubuntu and Linux mint.

Now we need to make a directory and then provide it a password in order to encypt it.

You can make the folder anywhere you like provided that you remember the path and the password. After making the folder you can copy paste or drag and drop data as if it was a normal folder or a directory.

Now that you have made an encrypted directory which would automatically mounted as if it were a partition and then you can save your valuable data in it. After you have finished saving data you can always unmount it from the panel as shown below. Remember for re-mounting the directory,  password will be asked to entered as shown below.

encrypted

Voila, now you are protected from prying eyes.

Njoy !

How to run MS-Office 2010 in Ubuntu using Wine !

Many Linux users would agree that in order to run the windows application successfuly there is a program called Wine (there are others as well such as PlayonLinux…etc)and thus by installing it the windows apps could be successfully run in Linux OS, yes this time we are taking about the Canonical’s latest distro(at the time of wriitng) the Ubuntu 12.10

This guide will show you how to install Wine, install and use Office 2010 in Ubuntu. This tutorial is going to shop quick and easy, especially for new users. After installing Wine, insert your Office CD, then right-click the setup.exe file and select ‘Open With Wine Windows Program Loader’

Now, wait for the installation to complete. When it completes, open Microsoft Word by running the commands below in terminal.

wine "C:/Program Files/Microsoft Office/Office14/winword.exe"

To launch Excel, run the commands below.

wine "C:/Program Files/Microsoft Office/Office14/excel.exe"

To open PowerPoint, run this.

wine "C:/Program Files/Microsoft Office/Office14/powerpnt.exe"

That’s all for now folks, have fun using the latest Wine.

Njoy !

10 things to do after installing Ubuntu

1. Install Additional Drivers:-

Some propriety drivers such as Broadcom wireless drivers or nVidia graphics drivers are absent by default. Ubuntu has now moved the “Additional Drivers” to Software Sources. Previously it was available in Unity Dash. To install additional drivers, open software sources = >And then go to Additional Drivers tab to find the available additional drivers for your computer:

Additional drivers

 

2. Install restricted repositories :-

Since not all types of Media formats are “completely” free and open source, Ubuntu does not provide them by default with the installation. For example if you want to listen to Mp3, watch flash videos or play an avi file, you have to install these media codecs. Ubuntu has bundeled the codecs for most common type of media formats in what it calls “ubuntu-restricted-extras”. Use the following command in terminal to install this package:-

sudo apt-get install ubuntu-restricted-extras

3. Set a Backup !

backup-deja_dup

Most people just skip this step, feeling it’s complicated or feeling lazy about it. Though the truth is, it is ridiculously easy to setup a backup. Trust me on this, having a backup saves your behind/ass in unfortunate events. Ubuntu’s default backup program Deja Dup is really easy to configure. Just locate all your important files and/or directories and save it (preferably) to a remote location such as external storage or Dropbox/Amazon.

 

 

4. Install Gimp !

gimp

Previously, GIMP was dropped from Ubuntu so as to keep the final ISO image size less than 700MB. Though Ubuntu 12.10 has dropped the 703 MB CD version , GIMP is still not included in it. Install GIMP 2.8 in terminal:

sudo apt-get install gimp

5. Install Dropbox !

dropbox1

Ubuntu comes pre-installed with its default cloud storage service Ubuntu One that offers 5 GB of free storage. You just need to login (or create an account for it). I am not sure if many people use Ubuntu One but Dropbox is definitely used by a huge number of people. Undoubtedly it is the king when it comes to cloud storage and sync services. You can install Dropbox in terminal:

sudo apt-get install nautilus-dropbox

6. Install VLC media player !

vlc

Ubuntu’s default video player Totem is pretty good in itself but VLC media player is by far the best player to play video files. It plays “almost” all type of video formats. Handles subtitles effectively and the best part is that you can enhance the volume up to 400% of the maximum you can get from your computer. Believe me, it helps a lot when you have a video/movie with really low audio. Install the VLC media player in terminal:-

sudo apt-get install vlc

7. Tweak Ubuntu Unity !

Though Ubuntu has stunning looks yet it does not mean you should not customize it to your own preference. There are a number of tools available to customize desktop settings like themes, icons, fonts, login-settings, unity launcher, unity lens behavior, graphics effects, startup applications etc. Two popular tools to tweak the settings in Ubuntu are MyUnity and Ubuntu Tweak.

Install Ubuntu Unity:

sudo add-apt-repository ppa:myunity/ppa
sudo apt-get update
sudo apt-get install myunity

Install Ubuntu Tweak:

ubuntu-tweak

sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak

8. Install Additional browser like Chrome or Chromium !

chromium browser

Some people will just swear by Mozilla Firefox. But as an experienced computer user you may agree that it is better to have two web browsers instead of one for a number of reason and ease of use is one of them. The best alternate to the default Mozilla Web Browser is Chromium Web Browser. Chromium is an open source project and the popular web browser Google Chrome is based on it. You can install either of the two. Chromium can be found in Ubuntu Software Center while Chrome can be downloaded from its website, click here . If for some (unknown) reason you do not like Chrome, then Opera is a worthy opponent of Firefox.

9. Install Shutter (A Screenshot App) !

shutter-logo

Shutter is an open-source program, and is available completely for free! It is really nice screenshot utility, We can say it is very advance utility to take screenshots of your screen.Shutter is a feature-rich screenshot program. You can take a screenshot of a specific area, window, your whole screen, or even of a website – apply different effects to it, draw on it to highlight points, and then upload to an image hosting site, all within one window. Shutter is free, open-source, and licensed under GPL v3.

sudo add-apt-repository ppa:shutter/ppa
sudo apt-get update
sudo apt-get install shutter

10. Finally install Gparted !

gparted_logo2

GParted is a free partition editor for graphically managing your disk partitions.
With GParted you can resize, copy, and move partitions without data loss, enabling you to:

  • Grow or shrink your C: drive
  • Create space for new operating systems
  • Attempt data rescue from lost partitions
sudo apt-get install gparted

This was from the top of my to do list after installing Ubuntu. What do you do after installing Ubuntu? Do share your experience with us on comments sections below..

Njoy !

Install latest Wine in Ubuntu

For the people who do not know what Wine is, it is a program that lets you run or install programs designed for Windows in Linux systems, including Ubuntu, Fedora and other distros. If you ever wanted to install Windows programs in Linux, then Wine is the program you’ll need to help you do that.

How to install it ?

Just fire your terminal and type the following commands:-

sudo add-apt-repository ppa:ubuntu-wine/ppa

Finally, run the commands below to update your system and install Wine.

sudo apt-get update && sudo apt-get install wine1.8

For a list of details for supported Linux/Unix supported distro’s for wine click here.

That’s it for now folks !

Njoy !

Top 10 Linux distributions of all times !

Howdy, today i will be writing about the top 10 Linux based distributions or “distro’s” of all times according to me. You may refer distrowatch website for all the details, but for now here is my countdown.

Before we start, let me tell you that Linux consists of around 1.5% of market share in desktop arena as compared to Windows which is 92% and for Mac OS X its above 8% on an average. So Linux has less market share, its immune to viruses and other threats as compared to other mainstream operating systems. Also there are more then 300 + distro’s available and as mentioned on distrowatch.

Now first things first, lets go down the descending way and see who has got the guts to make to the mark at the apex.

No. 10 Zorin OS:-

zorin

This OS which is specially designed for newbies and all new comers to Linux from the familiar Windows world has got a Windows 7 type of a GUI. The distro’s origin is from Ireland, and is based on Debian and Ubuntu stable branches. It has a core edition and a lite ediition, which uses LXDE as a default desktop. There are premium and paid options too for gamers and businesses alike. The main USP of the distro is that it can be made to look and feel like Windows 7, Gnome 2 or older Windows xp style. However in the paid and premium packs there are options for Mac OS X and Ubuntu’s Unity interface GUI too.

 

No. 9 LXLE:-

lxle

Based on Debian and Ubuntu again and comes from USA(origin), the distro features a LXDE desktop which is extremely lightweight and uses optimal resources for handling daily tasks.  Its built and based on Ubuntu’s LTS (Long Term Support) for 5 years of service along with updates and guaranteed security patches.

 

No. 8 Linux lite:-

lite

Linux lite or simply known as “lite” comes from New Zealand and is based on Ubuntu LTS and stable Debian packages. It is well know for all the new comers from the Windows world. It features a XFCE default GUI which is fast and stable. It includes out of the box applications such as an office suite and codecs and other media players for ease of use.

No.7 Kali Linux:-

kali

Also known as Backtrack Linux from Switzerland. Based on unstable and testing branch of Debian, used for purposes like data rescue, forensics, security, live medium etc. Also used by hackers and other widely known network security admins and auditors, this distro has a huge collection of forensics software’s as well as security apps. It features timely security updates, support for the ARM architecture, a choice of four popular desktop environments, and seamless upgrades to newer versions.

No.6 Arch:-

arch

Arch Linux, an independent distribution, well known to cater and provide a bleeding edge software along with a rolling release(a release where full upgrade is not necessary, user just needs to update the apps via normal update to get the most recent version). Arch can be installed from a CD image or via an FTP server. The default install provides a solid base that enables users to create a custom installation. There is AUR(Arch User Repository) and ABS for building and maintaining packages. Remember Arch is not for new comers as it requires a little bit of learning curve and knowledge of building and compiling packages and stuff.

 

No. 5 Manjaro Linux:-

manjaro

Its based on Arch and comes from Austria, Germany and France as its origin. It’s fast, user friendly and easy to use distro. The community has taken special interest to make arch linux easy and modified it into manjaro so that new comers can find this distro a breeze to use. It’s again a rolling release, has XFCE as a default GUI, but there are options to install other desktop environments too such as KDE, Enlightenment, fluxbox, Gnome 3, etc. The distro can be installed via CLI based installer or a Graphical installer.

 

No. 4 CentOS:-

centos

Also known as Community Enterprise OS. Built by the community and organisations which do not need any paid software for there daily computing routines. It is 100% compatible with Red hat OS.CentOS is for people who need an enterprise class operating system stability without the cost of certification and support

No. 3 Fedora:-

fedora

Fedora is sponsored and funded by red hat and is 100% free open source software. It has a reputation of being bleeding edge and implementing all the new technologies at a early stage. The default desktop interface is Gnome 3.X and on Gnome shell. It comes in various flavours like mate, KDE, Cinnamon, LXDE, XFCE. However there are other dedicated spins known as fedora spins too which includes subjects of interests for robotics, forensics, security, gaming, scientic computing etc.

 

No. 2 Ubuntu:-

ubuntu

Perhaps this distro needs no introduction at all. Funded and developed by Canonical, a UK based company, founded by Mark Shuttleworth has all the bells and whistles for any new comer coming to Linux from an outside world. It’s infact easier to use than a Mac as per the founder saying in a Ubuntu conference. The Ubuntu community is built on the ideas enshrined in the Ubuntu Manifesto: that software should be available free of charge, that software tools should be usable by people in their local language and despite any disabilities, and that people should have the freedom to customise and alter their software in whatever way they see fit. “Ubuntu” is an ancient African word, meaning “humanity to others”. It comes in various flavors which are not even rated here. They are Lubuntu (lxde desktop), Kubuntu (kde desktop), Edubuntu(unity or gnome fallback mode) etc.

 

No. 1 Mint:-

mint

The only king in the Linux world as per everyone’s liking, its Mint that tops the chart in our distro list.  It’s based on 100% Ubuntu packages and repositories, which work seamlessly and the main USP is that it has all the bells and whistles to make it run any sort of codecs, plugins, flash, media etc straight out of the box. It has Cinnamon as a home grown desktop which is a fork of Gnome shell. It also provides Mate desktop for light weight computing experience. It is being funded by many non profit organizations and the Linux community as well.

 

Well that makes up for all the chart list today, that’s it for now enjoy 2016 !

A Happy new year to all of you.

 

Image courtesy:- distrowatch.