Linux entry command

Source: Internet
Author: User

1. rpm-IVH software name. rpm

2. Bind File Installation: #./r1p1_linux22_libc6_i1__a1.bin

3. rarlinux installation command:
# Tar zxf rarlinux-3.9.0.tar.gz
# Cd RAR
# Make
Mkdir-P/usr/local/bin
Mkdir-P/usr/local/lib
Cp rar unrar/usr/local/bin
CP rarfiles. LST/etc
CP default. SFX/usr/local/lib
After executing the make command, the above five lines of information are displayed, that is, the installation is successful. Then you can decompress the RAR document in F10.

4. Deleting a directory in Linux is very simple. Many people are still used to using rmdir. However, once the directory is not empty, it is deeply worried.
Run the RM-RF command.

You can simply use RM, but you need to add two parameters-RF: Rm-RF directory name
-R is recursive down. No matter how many levels of directories are there, delete them together.
-F means to delete the file directly without any prompts.
Delete a folder instance:
Rm-RF/var/log/httpd/Access
The/var/log/httpd/Access Directory and all files and folders under it will be deleted.
Note that you must be extremely careful when using this RM-RF. Linux has no recycle bin.
Of course, RM has more parameters and usage, and man RM can be viewed.
Delete a file instance:
Rm-F/var/log/httpd/access. Log
The file/var/log/httpd/access. log will be forcibly deleted.

5. OpenOffice Installation
1. Download the installation package.
OOo_3.2.0_LinuxIntel_install_zh-CN.tar.gz
# Wget http://download.services.openoffice.org/files/localized/zh-CN/3.2.0/OOo_3.2.0_LinuxIntel_install_zh-CN.tar.gz

# Tar-zxvf OOo_3.2.0_LinuxIntel_install_zh-CN.tar.gz

After decompression, the OOO320_m12_native_packed-1_zh-CN.9483 directory will be obtained.

2. Install all components of OpenOffice In the RPMs directory.

# Rpm-IVH OpenOffice *. rpm

3. Install OpenOffice desktop-integration in the RPMS/desktop-integration directory.

# Cd desktop-Integration

# Rpm-IVH OpenOffice. org3.2-redhat-menus-3.2-9472.noarch.rpm

Note: When installing the Desktop configuration environment, you should select a proper configuration file package based on your system. For example: My system is centos5.5, so the software package I selected is OpenOffice. org3.2-redhat-menus-3.2-9472.noarch.rpm.

6. QT installation command: sudo Yum install QT * QT-devel
Binary:./qt-sdk-linux-x86-opensource-2010.02.bin
7. Install gcc-G ++: Yum install GCC gcc-C ++
Sudo Yum install GCC gcc-C ++ * aclocal
8. Install the English dictionary: Yum install stardict
9. CHM File reader: sudo Yum install gnochm
10. Command for killing a process: sudo kill-9 2753
11. Command for compiling CPP program with G ++ in Linux:
(1) There are header files and class implementation files. test files:
G ++-C hello. cpp-O hello. o
G ++-C myfirst. cpp-O myfirst. o
G ++ myfirst. O hello. O-o myfirst
(2) There is only one file: G ++ hello. cpp-O hello
12. An office software OpenOffice.org under fedora installed and tried it today. It feels good. Supports doc, xls, and PPT in WINDOS. It is compatible with documents in windows.

The installation method is as follows:
1. First install the OpenOffice.org suite
Yum groupinstall "office/productivity"
After installation, because the language is English by default, you can find and install the Chinese Language Pack in the following ways.
Yum list OpenOffice *
....
OpenOffice.org-langpack-uk.i386. 0.0-9.10.fc10 Fedora
OpenOffice.org-langpack-ur.i386. 0.0-9.10.fc10 Fedora
OpenOffice.org-langpack-ve_ZA.i386. 0.0-9.10.fc10 Fedora
OpenOffice.org-langpack-xh_ZA.i386. 0.0-9.10.fc10 Fedora
OpenOffice.org-langpack-zh_CN.i386. 0.0-9.10.fc10 Fedora
OpenOffice.org-langpack-zu_ZA.i386. 0.0-9.10.fc10 Fedora
OpenOffice.org-langpack-zh_TW.i386. 0.0-9.10.fc10 Fedora
....
2. Install the Chinese Language Pack
Yum-y install OpenOffice.org-langpack-zh_CN
In this way, the Chinese OpenOffice Chinese version is installed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.