Friday, February 15, 2013

Install and uninstall LibreOffice 4 on Debian Linux


Commands:


#!/bin/bash
# Part 1: Install
tar xf LibreOffice\
_4.0.0_Linux\
_x86_deb.tar.gz \
> /dev/null



cd LibreOffice\
_4.0.0.3\
_Linux_x86_deb/\
DEBS/ \
&& dpkg -i *.deb \
> /dev/null

cd desktop\
-integration/ \
&& dpkg -i *.deb \
> /dev/null


# Part 1a: Language pack
# Optional
# Choose the language
# you need
# e.g. Chinese (traditional)
# language pack
tar xf \
LibreOffice_4.0.0\
_Linux_x86_deb\
_langpack_zh-TW.tar.gz \
> /dev/null

cd LibreOffice\
_4.0.0.3_Linux\
_x86_deb_langpack_zh-TW/\
DEBS \
&& dpkg -i *.deb \
> /dev/null



# Part 2: Uninstall
aptitude -y \
purge libreoffice4.0 \
libobasis4.0-core01 \
libreoffice-debian-menus \
libreoffice4.0-stdlibs \
libreoffice4.0-ure \
> /dev/null





# Part 3: Remove user profile
cd /home/firstuser/.config/libreoffice
rm -r ./4



Captions:

0:00:00.490,0:00:04.430
>> LibreOffice How-To:
Install and uninstall LibreOffice 4 on Debian Linux

0:00:05.490,0:00:09.430
>> Visit the link
http://www.libreoffice.org/download

0:00:09.490,0:00:13.430
>> Sometimes, the page detects the correct
operating system

0:00:13.490,0:00:18.430
>> If not, you need to change the system
My system is x86

0:00:18.490,0:00:24.430
>> Now, select English (US) -> 4.0.0
-> Main installer

0:00:24.490,0:00:27.430
>> Just click that
If you need another kind of language,

0:00:27.490,0:00:30.430
>> If you need another kind of language,
then change the system

0:00:30.490,0:00:32.430
>> Select x86 again

0:00:33.490,0:00:36.430
>> In this example, I choose
Chinese (traditional) -> 4.0.0

0:00:36.490,0:00:39.430
>> Here, the language has been changed
Select Main installer to download it

0:00:39.490,0:00:44.430
>> Select Main installer to download it
Select Translated user interface for Chinese

0:00:44.490,0:00:48.430
>> In this how-to video,
you will see how to install LibreOffice 4

0:00:48.490,0:00:51.430
>> you will see how to install LibreOffice 4
and its language pack or translated user interface

0:00:51.490,0:00:54.430
>> You will also see how to uninstall LibreOffice 4
and remove the user profile


0:00:54.490,0:00:58.430
>> The command tar will extract the installer
Right-click the command -> Select Copy

0:00:58.490,0:01:01.430
>> Go to Terminal
The command ls lists the files in the folder

0:01:01.490,0:01:04.430
>> The command ls lists the files in the folder
The command su gives you the administrator's power

0:01:04.490,0:01:07.430
>> The command su gives you the administrator's power
Type the password

0:01:07.490,0:01:12.430
>> Edit -> Paste
Enter

0:01:12.490,0:01:16.430
>> Clear the screen

0:01:16.490,0:01:19.430
>> by the command clear

0:01:19.490,0:01:25.430
>> Select and right-click the next command
-> Copy

0:01:25.490,0:01:28.430
>> In Terminal, select Edit -> Paste
Enter

0:01:28.490,0:01:35.430
>> The command cd changes the directory
The command dpkg installs the files

0:01:35.490,0:01:39.430
>> Type clear -> Enter

0:01:39.490,0:01:44.430
>> Select the command -> Right-click it
-> Copy

0:01:44.490,0:01:47.430
>> In Terminal, select Edit -> Paste
Enter

0:01:47.490,0:01:56.430
>> The command is installing
the menu items now -> clear -> Enter

0:01:56.490,0:01:59.430
>> The installation is complete
if you do not need another kind of language

0:01:59.490,0:02:03.430
>> The step here is optional.
Here is Part 1a: Language pack

0:02:03.490,0:02:08.430
>> Click Applications ->
-> Office -> LibreOffice 4.0 Writer

0:02:08.490,0:02:13.430
>> You see the English (US)
user interface

0:02:13.490,0:02:18.430
>> Select Tools -> Options
-> Language Settings -> Languages

0:02:18.490,0:02:22.430
>> -> Language Settings -> Languages
-> User interface -> English (USA)

0:02:22.490,0:02:25.430
>> This is the place where you
can change the language of LibreOffice

0:02:25.490,0:02:28.430
>> Having installed the translated
user interface will let you

0:02:28.490,0:02:34.430
>> user interface will let you
see other options such as Chinese

0:02:34.490,0:02:38.430
>> Select the command
Select Edit -> Copy

0:02:38.490,0:02:49.430
>> In Terminal, go back to the previous
folder by typing cd .. repeatedly

0:02:49.490,0:02:54.430
>> We have just found the file
by using the command ls

0:02:54.490,0:02:59.430
>> Type clear -> Enter

0:02:59.490,0:03:05.430
>> Go back to the list of commands
Select and right-click the command -> Copy

0:03:05.490,0:03:09.430
>> In Terminal, select Edit -> Paste
Press Enter

0:03:09.490,0:03:13.430
>> Copy another command
Select and right-click the command -> Copy

0:03:13.490,0:03:18.430
>> In Terminal, select Edit -> Paste
Press Enter

0:03:18.490,0:03:22.430
>> clear -> Enter

0:03:22.490,0:03:26.430
>> Click Applications ->
-> Office -> LibreOffice 4.0 Writer

0:03:26.490,0:03:31.430
>> Select Tools -> Options
-> Language Settings -> Languages

0:03:31.490,0:03:42.430
>> -> User interface -> Chinese (traditional)
-> OK -> OK -> Close Window

0:03:42.490,0:03:46.430
>> Click Applications ->
-> Office -> LibreOffice 4.0 Writer

0:03:46.490,0:03:52.430
>> The user interface is in Chinese (traditional)

0:03:52.490,0:03:57.430
>> Select Tools -> Options
-> Language Settings -> Languages

0:03:57.490,0:04:08.430
>> -> User interface -> English (USA)
-> OK -> OK -> Close Window

0:04:08.490,0:04:14.430
>> Click Applications ->
-> Office -> LibreOffice 4.0 Writer

0:04:14.490,0:04:20.430
>> The user interface is now in English
You can change the language as you like

0:04:20.490,0:04:24.430
>> You can change the language as you like
Close Window

0:04:24.490,0:04:28.430
>> Part 2: Uninstall
Use the command aptitude

0:04:28.490,0:04:38.430
>> After copying and pasting,
hit Enter

0:04:38.490,0:04:48.430
>> Now, LibreOffice is being uninstalled
Perhaps, you need to upgrade it in future

0:04:48.490,0:04:56.430
>> Perhaps, you need to upgrade it in future
Later, you may find this command useful

0:04:56.490,0:04:58.430
>> Select Applications -> Office
You can see that the menu items

0:04:58.490,0:05:02.430
>> You can see that the menu items
have been uninstalled

0:05:02.490,0:05:06.430
>> Part 3: Remove user profile
If you need to upgrade LibreOffice

0:05:06.490,0:05:09.430
>> If you need to upgrade LibreOffice
or if LibreOffice does not work,

0:05:09.490,0:05:12.430
>>or if LibreOffice does not work,
you may need to remove the user profile

0:05:12.490,0:05:16.430
>>After copying and pasting the command,
hit Enter

0:05:16.490,0:05:18.430
>> ->clear

0:05:18.490,0:05:24.430
>> Then, use the rm command

0:05:24.490,0:05:29.430
>> The rm command basically removes
the folder named 4 in this case








No comments:

RSS