LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 09-22-2007, 07:16 AM   #1
manolakis
Member
 
Registered: Nov 2006
Distribution: xubuntu
Posts: 375

Rep: Reputation: 30
fonts for OpenOffice Writer


Hi there
I want to download Times 11 font for OpenOffice.
Does anyone know how to do that in Debian?

Thanks
 
Old 09-22-2007, 08:45 AM   #2
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
Hi,
There's an easy way : add "contrib" and non-free" in your sources.list file.
Then apt-get update.
Then apt-get msttcorefonts
it will install cabextract also.
You will then have Times fonts and also Arial, and some others.
Cheers
 
Old 09-23-2007, 05:56 AM   #3
manolakis
Member
 
Registered: Nov 2006
Distribution: xubuntu
Posts: 375

Original Poster
Rep: Reputation: 30
Dear samael26
Thanks for your reply. I would like to ask you to make more clear what you posted, which was:
Quote:
There's an easy way : add "contrib" and non-free" in your sources.list file
Could you please tell me where can i find sources.list file and what exactly i have to add? You said that i have to add "contrib and non-free". So is this the exact phrase?
I'm really sorry if i ask something obvious but i am new to Debian.
Hope you understand

Thanks again for your time
 
Old 09-23-2007, 08:15 AM   #4
norobro
Member
 
Registered: Feb 2006
Distribution: Debian Sid
Posts: 226

Rep: Reputation: 43
Hi manolakis,

Take a look at this: apt-howto

Also, at the top of this forum there is a sticky that may be helpful, titled:
Quote:
Post your source.list
HTH,

Norm
 
Old 09-29-2007, 12:46 AM   #5
manolakis
Member
 
Registered: Nov 2006
Distribution: xubuntu
Posts: 375

Original Poster
Rep: Reputation: 30
The /etc/apt/sources.list is the following:
Quote:
# deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official amd64 NETINST Binary-1 20070820-20:16]/ etch contrib main

deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official amd64 NETINST Binary-1 20070820-20:16]/ etch contrib main

deb http://ftp.uk.debian.org/debian/ etch main
deb-src http://ftp.uk.debian.org/debian/ etch main

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
 
Old 09-29-2007, 03:05 AM   #6
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
All right.
You need to use a text editor to be able to change your sources file.
Go into a console and type, first :

su --> then your root password.

Once you're root (you know this because there is the # sign at the prompt, type :


vim /etc/apt/sources.list --> that's what you did, but perhaps you were not root at the time.


now press "i" on your keyboard --> that puts you in the "insert" mode. You will see it at the bottom.

then scroll down to

deb http://ftp.uk.debian.org/debian/ etch main contrib non-free are to be inserted here. type normally, don't insert bold type
deb-src http://ftp.uk.debian.org/debian/ etch main

Once this is okay : press "esc" to quit the insert mode.

Once done, type ":wq!" this will write (w) quit (q) immediately (!) once you have pressed enter. Don't type the "", of course ;-)

Congrats ! you've successfully modified your file, using the best texte editor there is (if a little complicated at first)

Run apt-get update
Run apt-get msttcore
Watch it install.

Last edited by samael26; 09-29-2007 at 03:07 AM.
 
Old 09-29-2007, 08:31 AM   #7
manolakis
Member
 
Registered: Nov 2006
Distribution: xubuntu
Posts: 375

Original Poster
Rep: Reputation: 30
Hi again
Well i did what you said but it can not run:
Quote:
# apt-get msttcorefonts
E: Invalid operation msttcorefonts
I have one more question. Shall i do the same thing as you said in you last post for :
Quote:
deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
(add contrib non-free)

Many thanks for your time
 
Old 09-29-2007, 09:09 AM   #8
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
Hum, perhaps is it because you use the 64-bit version of Debian ? Go check on debian.org. Look for the package on the page devoted to them
Could be that, because some packages are available only for 32-bit.
AFAIK, you don't need to put contrib and non-free for security updates.
cheers.

EDIT : Look at this address, bottom of the page, that confirms my initial explanation...
http://wiki.debian.org/DebianAMD64MirrorMove

Last edited by samael26; 09-29-2007 at 09:14 AM.
 
Old 09-29-2007, 10:13 AM   #9
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
I'm not a Debianite, but is there no GUI package manager?---eg Synaptic.
 
Old 10-05-2007, 03:42 PM   #10
Tomermory
Member
 
Registered: Mar 2007
Location: Amiens, France
Distribution: Debian Etch,
Posts: 181

Rep: Reputation: 30
I hope I can blunder my way in here, but there seems to be a typing error here:

Quote:
# apt-get msttcorefonts
Shouldn't that be:

Quote:
# apt-get install msttcorefonts
?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
KWord vs. OpenOffice Writer erraticassassin Linux - Software 24 07-16-2005 10:46 AM
crash in OpenOffice Writer thandermax Linux - Software 0 06-25-2005 02:08 PM
Looking for a list of the commands available for OpenOffice Writer pedrosan Linux - Software 4 05-19-2004 08:11 PM
OpenOffice Writer Maurice Arthur Mandriva 3 05-06-2004 12:55 AM
OpenOffice 1.1 writer OceanSurf Linux - Software 6 05-03-2004 09:54 AM


All times are GMT -5. The time now is 11:05 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration