Showing posts with label How To Linux. Show all posts
Showing posts with label How To Linux. Show all posts

Sunday, August 3, 2014

How To Check Java is already installed in Linux OS

How To Check Java is already installed in Ubuntu Linux

Open a terminal and use the following command:

java -version

If you see an output like the one below, it means you don’t have Java installed:

The program ‘java’ can be found in the following packages:
* default-jre
* gcj-4.6-jre-headless
* openjdk-6-jre-headless
* gcj-4.5-jre-headless
* openjdk-7-jre-headless
Try: sudo apt-get install

 or 

In your terminal type java -version or just javac if it returns something, then you've java installed. Otherwise, there is also the possibility that the path variables do not contain the java path. So uselocate jdk or locate java to see if you have the java binary. Don't forget to run updatedb if you are using locate for the first time.
How To Check Java is already installed in Linux OS

How To Check Java is already installed in Linux OS


Thursday, February 6, 2014

Format Pen drive and Memory Card in Ubuntu by Terminal

Format Pen drive and Memory Card in Ubuntu by Terminal

In , This post you learn how to Format Pendrive and Memory Card in ubuntu by Terminal. Sometimes in Linux OS we cannot able to format pen-drive  and memory card in file manager so that instead of this problem we can format using Terminal in Linux OS.


After plugging your device in Computer ( pen-drive or memory card ).

Then

Open Terminal (ctrl +Alt + T) using this keyboard shortcut key.

After that Type the command as $ dmseg | Tail

Then, it will display like this as below :

[ 1749.108796] sd 9:0:0:0: [sdb] Write Protect is off
[ 1749.108813] sd 9:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 1749.109803] sd 9:0:0:0: [sdb] No Caching mode page present
[ 1749.109816] sd 9:0:0:0: [sdb] Assuming drive cache: write through
[ 1749.116895] sd 9:0:0:0: [sdb] No Caching mode page present
[ 1749.116906] sd 9:0:0:0: [sdb] Assuming drive cache: write through
[ 1749.118911]  sdb: sdb1    -> Things to be noted
[ 1749.122785] sd 9:0:0:0: [sdb] No Caching mode page present
[ 1749.122800] sd 9:0:0:0: [sdb] Assuming drive cache: write through
[ 1749.123771] sd 9:0:0:0: [sdb] Attached SCSI removable disk

Then Unmount your device by using below command

$ sudo umount /dev/sdb1

Finally, Enter this command to format Your device

$ sudo mkfs.vfat -n ‘Ubuntu’ -I /dev/sdb1

That's it…. Now plug out your device and plug in again to use . Your device is now formatted and ready to use now..

Format Pen drive and Memory Card in Ubuntu by Terminal

Format Pen drive and Memory Card in Ubuntu by Terminal

About Ubuntu Linux OS

Ubuntu is the world’s favorite free operating system, with more than 20 million people preferring it to commercial alternatives.

Ubuntu is a community developed operating system that is perfect for laptops, desktops and servers. Whether you use it at home, at school or at work Ubuntu contains all the applications you’ll ever need, from word processing and email applications, to web server software and programming tools.
Ubuntu is and always will be free of charge. You do not pay any licensing fees. You can download, use and share Ubuntu with your friends, family, school or business for absolutely nothing. Format Pen drive and Memory Card in Ubuntu by Terminal

Format Pen drive and Memory Card in Ubuntu by Terminal

What is Ubuntu? 
Loved by millions worldwide, Ubuntu is a secure, stylish operating system that couldn’t be easier to use. With no unnecessary trial software and clutter, it’s fast and it stays fast. It has amazing support for the web, thanks to the best, most secure and fastest browsers. And you can choose from thousands of free applications in the Ubuntu Software Centre. 

 This is by no means a complete list of Free operating systems… but that is all for today folks… I will be updating this list through out this week. My aim is to make this the best resource for finding a free alternative to Microsoft Windows and other proprietary Operating systems.

Monday, October 21, 2013

Pinguy Linux OS Installation Guide


Pinguy Linux OS Installation Guide

      PinguyOS is based upon Ubuntu, so this means that the process of making a Live USB pen is exactly the same for PinguyOS as it is in Ubuntu.

        Pinguy OS is built based on the Ubuntu OS framework.

        Pinguy OS was developed by Antoni Norman. Still he is the lead developer of this project. Pinguy OS is simple to use, work well and looking good. For the beginners who are all started to using linux, it will be good.

PinguyOS offers unparalleled beauty. With many customisations and fantastic themes installed by default, it will make others say .

          The ethos of PinguyOS is very simple, to look good, work well and most importantly to be simple to use. PinguyOS is very much designed for people who are new to the Linux world, many people coming from both a Windows or a Mac background will find plenty of familiar features along with some new ones that aren’t available in either Windows or Mac.



Installing a pinguy linux os is very easy to install and use.



Pinguy Linux OS Installation Guide


Monday, September 23, 2013

How to Delete a User Account in Linux

How to Delete a User Account in Linux

§  Remove login id from /etc/passwd & /etc/shadow file and delete home directory

§  userdel –r <username>

§  Use GUI to Delete the user

How to Delete a User Account in Linux


Monday, September 2, 2013

How to Update Firefox in Ubuntu

How to Update Firefox in Ubuntu Linux OS


Today i have learnt how to update Mozilla Firefox in Ubuntu linux os and  Its so easy to update in ubuntu. Let us see now how to update manually in Terminal.
How to Update Firefox in Ubuntu

Steps to be follow update a Mozilla Firefox in Ubuntu Linux OS :
Open terminal and type the following command  in Terminal.
sudo add-apt-repository ppa:ubuntu-mozilla-security/ppa
sudo apt-get update
sudo apt-get install firefox
After Execute the Above Commands you finished the updated firefox now check updated version in the Terminal. 
How To check Version in Terminal.
$ firefox -v
How to Update Firefox in Ubuntu Linux OS

How to Install Fonts in Ubuntu


How to Install Fonts in Ubuntu

Here the steps to follow a install Fonts in Ubuntu Linux OS

Just copy your font into your users

font folder ~/.fonts (”~” represents the path to your home dir 

e.g./home/bala/.fonts). If it doesn’t exist then create it. Then

exectue the font cache command from the terminal.

sudo fc-cache -vf
  • -v option is for verbose or it tells you exactly what the command is doing.
  • -f option forces updating of all cached font files
This updates the font cache on your system and you should be able to use the fonts right away.
How to Install Fonts in Ubuntu

Wednesday, May 29, 2013

How to install Zorin Linux OS


How to install Zorin Linux OS

If you wish to install Zorin OS to your computer please follow this guide:

Step 1. First go to the Download page and download Zorin OS.
Step 2. When the download is finished burn the image file to a blank DVD (any type). You can download ImgBurn if you don't have a CD/DVD burning program already installed.
Step 3. When the burning process is completed insert the DVD into the computer and restart with it still in. The computer should boot from the DVD, if not you should change the settings in the BIOS or press F12 (or whatever key it is to select the boot device) while booting up again.
Step 4. Press the Enter key to start the LiveDVD, this is a thing that lets you run the operating system off the DVD without installing it onto your computer.
 How to install Zorin Linux OS
NOTE: The Live DVD runs much slower than after the full installation.

Step 5. Click the Install icon on the desktop if you choose to install it onto your computer. This opens a window, now you can select your desired settings.
Step 6. Later you will be prompted to make a new partition, a partition is a thing you make if you want to install an alternate operating system. This slices your Hard Drive to allow the installation of another operating system. The minimum size for Zorin OS Core is 5 Gigabytes (Just remember to leave enough space for your first operating system).
Step 7. During the installation you will be asked to select your language (over 55 are available), your location, time settings, keyboard layout, partitioning settings and import your files, settings and user accounts from your Windows installation (if you have one).
Step 8. The installation should take 10 minutes up to an hour.
Step 9. After the installation you will be prompted to restart the computer, after the restart the computer should boot up into a menu where you choose which operating system you want to start. To select one use the arrow keys to highlight an option and press the Enter key to start the highlighted one.
Now you should have Zorin OS installed to your computer.

How to install Zorin Linux OS


Thursday, May 9, 2013

How To Connecting to net broadband In Linux OS


How To Connect to net broadband In LinuxOS

How To Connecting to net broadband In Linux OS

Just connect the computer with the normal Internet connection given by your ISP and then select “Administration>Network” .In that select the active network device (mostly eth0) and the double click it. Now in that select “Obtain ip address automatically from dhcp” and then close that dialog box. Then in the dns tab add the dns addresses provided by your ISP. Eureka !! just open Firefox and start surfing !!
How To Connecting to net broadband In Linux OS

How To Connect to net broadband In LinuxOS


Wednesday, May 8, 2013

How To Install Java in Linux(JDK/JRE)


How To Install Java in Linux

How To Install JDK/JRE in Linux

Which Java package do I need?
  • JDK: (Java Development Kit). For Java Developers. Includes a complete JRE plus tools for developing, debugging, and monitoring Java applications.
  • Server JRE: (Server Java Runtime Environment) For deploying Java applications on servers. Includes tools for JVM monitoring and tools commonly required for server applications, but does not include browser integration (the Java plug-in), auto-update, nor an installer.
  • JRE: (Java Runtime Environment). Covers most end-users needs. Contains everything required to run Java applications on your system.
Difference Between JDK and JRE:

The "JDK" is the Java Development Kit. I.e., the JDK is bundle of software that you can use to develop Java based software. The "JRE" is the Java Runtime Environment. I.e., the JRE is an implementation of the Java Virtual Machine which actually executes Java programs.
Typically, each JDK contains one (or more) JRE's along with the various development tools like the Java source compilers, bundling and deployment tools, debuggers, development libraries, etc.
What is the difference between the JRE and the JDK ?

JRE
(Java Runtime environment)
JDK
(Java Development Kit)
It is an implementation of the Java Virtual Machine* which actually executes Java programs.It is a bundle of software that you can use to develop Java based applications.
Java Runtime Environment is a plug-in needed for running java programs.Java Development Kit is needed for developing java applications.
The JRE is smaller than the JDK so it needs less Disk space.The JDK needs more Disk space as it contains the JRE along with various development tools.
The JRE can be downloaded/supported freely from
java.com
The JDK can be downloaded/supported freely from
oracle.com/technetwork/java/javase/downloads/
It includes the JVM , Core libraries and other additional components to run applications and applets written in Java.It includes the JRE, set of API classes, Java compiler, Webstart and additional files needed to write Java applets and applications.
How To Install Java in Linux(JDK/JRE)

1. How To Install Java (JDK/JRE) in Fedora :

For fedora go to terminal and login as Super user (Su)
then put the following commands in terminal window 

yum install sun-java6-jre sun-java6-plugin

(OR)

These instructions use the following file:
    jre-7u<version>-linux-x64.tar.gz

1. Download the file. Before the file can be downloaded, you must accept the license agreement. The archive binary can be installed by anyone (not only root users), in any location that you can write to. However, only the root user can install the JRE into the system location.
2. Change directory to the location where you would like the JRE to be installed. Move the .tar.gz archive binary to the current directory.
3. Unpack the tarball and install the JRE.
    % tar zxvf jre-7u<version>-linux-x64.tar.gz
The JRE files are installed in a directory called jre1.7.0_<version> in the current directory.
4. Delete the .tar.gz file if you want to save disk space.

2. How To Install  Java (JDK/JRE) in Ubuntu :

sudo apt-get install sun-java6-jre sun-java6-plugin
sudo update-alternatives –config java

(OR)

These instructions use the following file:
    jre-7u<version>-linux-x64.tar.gz

1. Download the file. Before the file can be downloaded, you must accept the license agreement. The archive binary can be installed by anyone (not only root users), in any location that you can write to. However, only the root user can install the JRE into the system location.
2. Change directory to the location where you would like the JRE to be installed. Move the .tar.gz archive binary to the current directory.
3. Unpack the tarball and install the JRE.
    % tar zxvf jre-7u<version>-linux-x64.tar.gz
The JRE files are installed in a directory called jre1.7.0_<version> in the current directory.
4. Delete the .tar.gz file if you want to save disk space.
3.How To Install Java (JDK/JRE) in OpenSuse :
 
yast install sun-java6-jre sun-java6-plugin
(OR)

Installation of the 64-bit JDK on Linux Platforms

This procedure installs the Java Development Kit (JDK) for 64-bit Linux, using an archive binary file (.tar.gz).
These instructions use the following file:
    jdk-7u<version>-linux-x64.tar.gz
1. Download the file. Before the file can be downloaded, you must accept the license agreement. The archive binary can be installed by anyone (not only root users), in any location that you can write to. However, only the root user can install the JDK into the system location.
2. Change directory to the location where you would like the JDK to be installed. Move the .tar.gz archive binary to the current directory.
3. Unpack the tarball and install the JDK.
    % tar zxvf jdk-7u<version>-linux-x64.tar.gz
The Java Development Kit files are installed in a directory called jdk1.7.0_<version> in the current directory.
4. Delete the .tar.gz file if you want to save disk space.

How To Install Java in Linux(JDK/JRE)

How To Install JDK/JRE in Linux

Monday, April 22, 2013

How to Manually Update Linux Packages


How to Manually Update Linux Packages

Manually update packages in Linux

You are not able to keep your system up to speed only with the help of the auto-updater. A package manager may require little effort in configuring, installing and downloading new programs.
Go to menu and select the terminal window, after that enter sudo apt-get update to make sure that Ubuntu’s information of packages is updated.

How to Manually Update Linux Packages

Run package upgrades
In next step, you should change the installed packages into the latest versions. You can do this utilizing a little different command in a terminal window: type apt-get up-grade.
Then, insert the command (keeping in mind to prefix the command with sudo, which indicates Ubuntu to run the process as the great user) and apt-get will select through a list, installing and marking any of the packages that have collapsed behind the times.

The command update.packages() is the simplest way to ensure that all the packages on your system are up to date. It downloads the list of available packages and their current versions, compares it with those installed and offers to fetch and install any that have later versions on the repositories.

An alternative interface to keeping packages up-to-date is provided by the command packageStatus(), which returns an object with information on all installed packages and packages available at multiple repositories. The print and summary methods give an overview of installed and available packages, the upgrade method offers to fetch and install the latest versions of outdated packages.

One sometimes-useful additional piece of information that packageStatus() returns is the status of a package, as "ok", "upgrade" or "unavailable" (in the currently selected repositories). For example

     > inst <- packageStatus()$inst
     > inst[inst$Status != "ok", c("Package", "Version", "Status")]
                       Package Version      Status
     Biobase           Biobase   2.8.0 unavailable
     RCurl               RCurl   1.4-2     upgrade
     Rgraphviz       Rgraphviz  1.26.0 unavailable
     rgdal               rgdal  0.6-27     upgrade



To Display list of updated software

Type the following command at shell prompt:
# yum list updates

To Patch up system by applying all updates

To download and install all updates type the following command:
# yum update

To  List all installed packages

List all installed packages, enter:
# rpm -qa
# yum list installed

How to Manually Update Linux Packages


Wednesday, April 10, 2013

Tiny Core Linux OS Installation Steps


Tiny Core Linux OS Installation Steps

Install Tiny Core Linux



0. Introduction

The first step before you install any operating system such as Tiny Core is to back up everything on your computer before starting.
Before making the commitment to perform a frugal install you should consider our Quick and Easy Overview. It covers the basics of running Tiny Core from CDROM and/or USB pendrive. Most will find learning Tiny Core the quick and easy way a better starting point.
But for those who are ready to take the plunge to frugal, this guide shows step by step information on how to install TC via the installer. The older instructions for a manual install are still available, but using the installer is recommended.
The guide assumes you've either booted the CorePlus CD, or have installed the tc-install extension (tc-install.tcz)
Keep in mind that this guide is basic and that the user may choose to adapt, remove and/or add parts as desired.
The installer is also applicable to USB sticks and other external media.
Note: If you already have a Linux System booting, then you do not need to make a partition for Tiny Core! Tiny Core can run in a single directory in your existing Linux installation. To do so, at step 1, uncheck the option to "Install boot loader". At step 2, select an existing partition, and at Step 3, do not format it. Upon completion you will need to manually configure your existing boot loader. 



1. Start the installation

Open the installer:
Tiny Core Linux OS Installation Steps
It can also be started via the shell or Run icon by typing "tc-install".
Tiny Core Linux OS Installation Steps




2. Browse to the install files

Browse to /mnt/device/boot and select the core.gz file.
Tiny Core Linux OS Installation Steps
With the source selected, pick the desired install type and target. We're going to install to an empty hard drive.
If using an existing partition, tick the box to mark it active to have it bootable.
Tiny Core Linux OS Installation Steps





3. Formatting

Format the new partition. It's recommended to pick one of the ext* options to support linux permissions.
Tiny Core Linux OS Installation Steps




4. Bootcodes

If you want to use additional bootcodes, enter them now. Otherwise leave this blank.
The example bootcodes set a framebuffer resolution and disable wbar icons.
Tiny Core Linux OS Installation Steps
Note that you can edit them any time after the install in the bootloader's config file, usually extlinux.conf.




5. CorePlus installation options

If you are installing from the CorePlus CD you will see an additional screen asking which extensions from CorePlus you would like to install. Note that you will only see this screen if running the installer from a CorePlus CD.
Tiny Core Linux OS Installation Steps
The selected extensions will be installed.




6. Tiny Core installation options

If you are installing from the Tiny Core CD you will see an additional screen asking which directory extensions should be installed from. You should select the cde or tce directory that contains the extensions that you would like installed. For example, if the Tiny Core CD is mounted on /mnt/sr0 you should select /mnt/sr0/cde
Note that you will not see this screen if installing from CorePlus.
Tiny Core Linux OS Installation Steps
All extensions from selected directory will be installed.




7. Install

If everything's OK, click on proceed:
Tiny Core Linux OS Installation Steps
The time required will depend on the size of your hard drive.





8. Testing

Tiny Core Linux OS Installation Steps
TC is now installed!
Remove the original CD boot media and reboot.
Note: the system may need to be configured to boot hdX first in the BIOS.

Tiny Core Linux OS Installation Steps


Linux Tips and tricks,Online Linux Helpers