Tag: package

Learn How To Install Software In Linux and Unix Distros

By Eddison Sherry

many Linux distrosFor a Linux enthusiast there are a variety of distributions (distros) or otherwise called flavors available in the internet. These distros vary mostly in the package management system they use to install software and also in their philosophy. Although the basis is same, it is the differences in handling the power that the kernel (Core program of the operating system) delivers that makes them distinct from each other. A newbie can easily get confused with the concepts in Linux, thanks to Microsoft which serves as an introductory course to using a computer the way you want it. In this article we will check what all options are catered for a normal user in installing software.

Red Hat LinuxMainly the distros can be categorized on the basis of package management system into three viz, .rpm based (redhat package manager), .deb based and the source based. The first category.rpm has its basis on Red Hat operating system or extensive usage of their code. openSUSE, fedora, Mandriva are a few to mention in this class.

Debian Linux

The next class is.deb or Debian based distros. Multitude of distros are available in this too most prominent one being Ubuntu.

 

ThGentoo Linuxe third category uses the source code for its primary operations Gentoo linux being one among them. Many distros provide additional front end programs to make it easier for the user to add or remove libraries or software’s to the system which may be either GUI based or command based.

yum package managerNow we will have a look at a few conceptually best package managers used by the distros. Red Hat has Yum (Yellowdog Updater Modified) package manager for the convenience of the user. It was originally developed to manage Red Hat Linux systems at Duke University’s Physics department.

Synaptic Package ManagerUbuntu has the synaptic package manager which uses the underlying apt(Advanced Packaging Tool) to gather and install software. Gentoo uses portage as its software installer but is a bit different in behavior from other package managers in that it deals with source code and compiles and installs for the specific machine on which it is running. These package managers install software from any recorded media like CD or DVD or from internet servers called repositories maintained by distributions and communities associated with its development. All these software managers resolve dependencies between packages while installing a software or library. Dependencies arise when a software might be compatible with a particular implementation of a library file where as another software we are trying to install might need a different underlying implementation of the same concept. When the two such conflicting software’s needs to coexist then the library file preferences need to be sorted out. Software’s usually depend on many libraries and hence the automatic management of dependencies is a welcome move as far as the huge Linux users community across the globe is considered as it would alleviate the problems in managing the system.

There is ample scope if you are a nerd or a geek to have your own way of tweaking the system and this is what fancies the computer addicts to use this powerful operating system. To conclude let us assume that the competition in the field gives rise to wonderful Linux based operating systems easily manageable and gives a new dimension to computing capabilities of the new generation.

Eddison Sherry had been working in Linux and other Unix flavours for long years. He had been writing blogs and article on the Linux Storage, Linux Commands and Linux Server Administration. If you are working on Linux or Unix Server its best to have a look on his blogs at Linux Technical Forum.

Tags: , , , , , , , , , , , , , ,

Installing Programs in Linux – It’s No Longer Difficult

By S Austin

There are quite a few myths that are still common today about the Linux operating system. One of these myths is that programs are very difficult to install.

There was a time in Linux when you had to do something called compiling a program. This involved going to the terminal and manually installing all of the files. If you did this incorrectly, the program would not load. If you needed another program installed to make this one work, you would have no idea what to do. You had to do intensive research to make sure you had all the dependencies installed. It really a serious pain and much too difficult for even an expert computer user.

This misery is still remembered by many who will tell others that installing programs in Linux is simply too hard to do. Today, after about a decade of improvements (which in computer years is quite a bit) installing programs in Linux is easy. In fact, it might be easier than what most people are used to with their current systems.

Most versions of Linux have some sort of package manager. This means that a group of people have checked certain programs to make sure they work, maintain all the updates for you, and make sure all the dependencies will install when you want to put an application on your computer.

In Ubuntu, you open the Applications menu and click on Add/Remove. Search for the program you want to install. Check a box. Then hit Apply Changes. That’s it. As you can see, this is a very simple process. To remove the program you just uncheck the box and hit Apply Changes and it’s gone. That’s easy enough for almost anyone to do. Additionally, you know these packages and programs are safe for your computer since a human being has manually approved them for your computer.

Whether using Linux or your operating system of choice, make sure to get the best business web hosting available. Don’t take chances with your business website.

Tags: , ,

Recently my nephew came to visit and brought his computer. It was running WinXP and he said the CD drives were broken, and it needed a new motherboard! Well, since he’s only 12 his diagnosis was understandably quite a bit off. There’s no need to pay a technician huge sums of money to “fix” this broken system, with my trusty case full of live Linux discs I was ready to start.

First, we booted into Windows– It did not recognize the CD drives in the computer, Device Manager reported a problem with the drivers, indicated by yellow exclamation points.

Now, normally a casual Windows user would have to start jumping through hoops trying to figure out how to fix the drivers problem, but in this case he was done with Windows, what with all the spyware and general instability problems, and he was ready to give Linux a try. So, we turned off the PC, let it sit for 10 seconds, then turned it on, inserted the Linux Live disc (Ubuntu 9.10 Karmic Koala), and booted up into Linux.

Some argue that Windows is inherently easier to use than Linux, while that may have been true 15 years ago before the Graphical User Interface became increasingly popular for Linux distros, nowadays there are new advantages to the less-savvy computer to really like about Linux.

For instance, look at this example about problems with drivers for CD-ROM drives. Most Linux distros come complete with CD-ROM drivers, video drivers, USB device drivers (Like my Linksys Wireless-G stick) which has never been the case with Microsoft’s Windows. When you first install Windows on a PC you aren’t done yet–Oh no, it will probably a couple hours for you to track down all the proper drivers for your system. Linux- put your Live CD in the drive, boot up and go!

And, if you want to add more software to your Linux system, you have the convenience of Package Managers.  All the biggest Linux distros have thousands of all different types of applications available from games, to business, to development specifically put together for that particular distro. For instance, Ubuntu has over 20,000 different programs known as “packages” that are each uniquely tailored to your particular ditribution. Package managers resolve dependency problems which have historically plagued operating systems like Linux because there were specific versions of individual files required by some programs that weren’t already installed on the system, resulting in problems.

Getting out of the “Windows mindset” gives one the freedom to expand his horizons when it comes to getting the most out of one’s computer system with the least cost.

Tags: , , , ,

What Is Ubuntu?

What Is Ubuntu?

By Roharme D

Ubuntu is an easy version of Linux. It is not windows,but it is almost user friendly like windows. No all applications have graphical interface. Many applications force users to use commands to run them.Commands are mandatory to work with Linux and Ubuntu is not an exception.

Useful Commands:

* apt-get – Call Advanced Packaging Tool.

* clear – Clears terminal screen

* cat [filename] – Opens the file in terminal

* cat > [filename] – Createsa file with name mentioned

* chmod – Change the mode of a file to read, write, execute, extract etc.

* gedit – Opens gnome editor

* gksudo [program name] – Open graphic interface of an application with administrator

* install – Install a package or a component

* pon – Trigger a dsl-connection

* poff – Turn of a dsl-connection

* plog -PPPOE Log file.

* sudo -To become an administration for that particular transaction / terminal session alone.

* privileges.

* synaptic – Open package installer

* vi – Opens VI editor

Installing a software:

Ubuntu does not support direct executable files. You will either be provided with a compiled object that can be installed as such or the complete source code itself. In case of source code, it must be compiled first to proceed with the installation. There is no fixed way to compile the code. It depends upon the language in which the software has been written.

Fully compiled software will have standard extensions which Ubuntu understands by their extension.Some standard file type are

*.run – These files types must be executed with shell command as

* sh.run

*.deb – Deb is the abbreviated form of Debian packages. These packages can be installed right away by double clicking.It opens itself in package installer.

*.bin – These are standard binary files. They might be locked sometimes. They must be provided privileges before executing. The privileges can be changed by the command chmod with the switch +x.To install the software, use the command./[FILENAME].bin (note the dot in the beginning)

There are many other ways of installing a software.

Synaptic Manager:

This is a built-in Ubuntu installer. Ubuntu, keeps track of many useful and popular packages. They are indexed in the synaptic manager. You can install the software using the synaptic manager, if the software is listed in it.

To start synaptic manager, use the command sudo synaptic

Application Package Tool:

APT is one of the typical features of Ubuntu. There are plenty of software and utilities that can directly be installed in your system without having a downloaded soft copy. Just naming the package would suffice. Some famous package that can be installed with APT are

sudo apt-get install sun-java6-sdk sudo apt-get install xmms sudo apt-get install vlc sudo apt-get install mvn sudo apt-get install ant sudo apt-get install svn

Almost all applications can be opened using a command line. Command line version of software are faster than graphic interface as they occupy less memory.This could be a handy guide for beginners. But this is just a piece of Ubuntu. There are many things are there to be learnt to play with Ubuntu.

Tags: , , , , , , , ,
Back to top