LibreOffice on Fedora

How to install Libreoffice on Fedora

Remove OpenOffice first.

1.  Get the pack from http://www.documentfoundation.org/download/

2.  Go to the dir where you saved the tar.gz file and extract it using this command tar -zxvf LibO_3.3.0_beta2_Linux_x86_install-rpm_en-US.tar.gz (The name of the file may change depends on which version you have)

3. After the extract, you may get a dir (folder) called “en-US” use the cd command to go in

4. cd en-US

5. cd RPMS

6. # rpm -i *.rpm (This will install all the rpms that are in) You have to run it as root

7. cd desktop-integration

8. # rpm -i libreoffice3.3-redhat-menus-3.3-1.noarch.rpm (This will install the LibreOffice menus)

NOTE ! If you have any problems opening LibreOffice from the menus you can still use this command

/opt/libreoffice3/program/soffice.bin

 

Advertisements

Getting Started with PyQt

Wikipedia:

PyQt is a Python binding of the cross-platform GUI toolkit Qt. It is one of the alternatives for GUI programming in Python to Tkinter, which is bundled with Python. Other popular alternatives are PyGTK and wxPython. Like Qt, PyQt is free software. PyQt is implemented as a Python plug-in.

I started reading some tutorials on Python GUI programming and saw the Qt freamwork, I have heard also about Qt in my past, So I found a way that I can use PyQt for my python programms. While watching some videos on YouTube I saw this software called qt4-designer. It looked so easy to use and very user friendly, It looked like Visual Basic (I used to do some small exercise in visual basic back in the time) So I thought to give it a try. The first idea that I had was to do a “yum install qt4-designer’  but I couldn’t find the software so I thought to get the code and build it from source. I asked the guys at irc.freenode.net #fedora-kde if they have used qt4-designer and for the good somone respond. He said that the software I am looking for is already in the repo. It was very simple “yum install qt-devel” would install everything needed. So I got everything up and running in minuts and that thanks to a big community like the FedoraProject.

Learning Python is EASY !

Python Programming Language

Here are some of the sources that you can learn Python for FREE !

Video Materials:

MIT OpenCourse Ware

YouTube

Text Materials:

http://docs.python.org/tutorial/index.html

http://www.greenteapress.com/thinkpython/html/index.html

http://en.wikibooks.org/wiki/Non-Programmer%27s_Tutorial_for_Python_2.6

A byte of Python

Fedora 14 Beta – First Test

This is my first time trying Fedora 14

Running it with a live usb

For the first minuts Fedora 14 looks and feels stable, I didn’t check everything, things that I noticed were it comes with Python 2.7 and a new wallpaper.

[liveuser@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.35.4-28.fc14.i686 #1 SMP Wed Sep 15 02:03:44 UTC 2010 i686 i686 i386 GNU/Linux

Will wait for the final release and write a bigger post about it

Listing and mounting in GNU/Linux

[root@skullnet ardian]# fdisk -l List the partition tables for the specified  devices  and then  exit.   If no devices are given, those mentioned in /proc/partitions (if that exists) are used.

mount example:

[root@skullnet ardian]# mount /dev/sda1 /mnt/sda1

Flossk/Flossal Summer of Code Kick off beach party

It’s never late

2010-07-16 at 18:00

Big beach , grill and hackathon party to kick off the summer of code

Bus is leaving from Prizren at 18:00 from the Driton Tours, across the street from the main bus station in prizren :
(driton_tours@hotmail.com +355683266603, 038724009, 038724000,049205104,049301972,044205104, manager 044574337)

We are going to : Turist Kompleksi Leonardo
Contact : +355 69 20 70 322 / +355 69 21 61 484
Location, at the end of the beach, across the dirt road, you will see the sign on the left, there is a private road, it is at the end. You can see the photo of the two big houses on google maps, or look at the openstreetmap.
http://www.openstreetmap.org/?lat=41.779755&lon=19.604829&zoom=18&layers=B000FTF
Also on google maps http://tinyurl.com/27yepmd

Shengjin, Albania

Shengjin, Albania

Installing IPv6 on Fedora

Packs that need to be installed:

# yum install gcc-c++

#yum install openssl-devel.i686

#Maybe you need libssh-dev

wget http://go6.net/4105/file.asp?file_id=166
mv file.asp\?file_id\=166 test.tar
tar -xf test.tar
cd gw6c-6_0_1/
make                                                           g++ must be installed
make installdir=/home/username/test install
run as root # /home/username/test/bin/gw6c -f /home/username/test/bin/gw6c.conf

GNU/Linux wearing Fedora hat

GNU/Linux wearing Fedora hat

GNU/Linux wearing Fedora hat

Some phrases from Little Brother

Some phrases about programming from Little Brother :

If you’ve never programmed a computer, you should. There’s nothing like it in the whole world. When you program a computer, it does exactly what you tell it to do. It’s like designing a machine ­­ any machine, like a car, like a faucet, like a gas­hinge for a door ­­ using math and instructions. It’s awesome in the truest sense: it can fill you with awe.

A computer is the most complicated machine you’ll ever use. It’s made of billions of micro­miniaturized transistors that can be configured to run any program you can imagine. But when you sit down at the keyboard and write a line of code, those transistors do what you tell them to.

Most of us will never build a car. Pretty much none of us will ever create an aviation system. Design a building. Lay out a city.

Those are complicated machines, those things, and they’re off­
limits to the likes of you and me. But a computer is like, ten times
more complicated, and it will dance to any tune you play. You can learn to write simple code in an afternoon. Start with a language like Python, which was written to give non­programmers an easier way to make the machine dance to their tune. Even if you only write code for one day, one afternoon, you have to do it. Computers can control you or they can lighten your work ­­ if you want to be in charge of your machines, you have to learn to write code.

Get the free book from
Here

Configuring apache2 to different ports

genti@flossk:~$ sudo nano /etc/apache2/ports.conf
sudo: unable to resolve host flossk
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default
# This is also true if you have upgraded from before 2.2.9-3 (i.e. from
# Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
# README.Debian.gz

#NameVirtualHost *:2020 [CHANGE THIS PORT]
Listen 2020 [CHANGE THIS PORT]

<IfModule mod_ssl.c>
# SSL name based virtual hosts are not yet supported, therefore no
# NameVirtualHost statement here
Listen 443 [CHANGE THIS PORT]
</IfModule>

Next file

genti@flossk:~$ sudo nano /etc/apache2/sites-enabled/000-default
sudo: unable to resolve host flossk
<VirtualHost *:2020> [CHANGE THIS PORT]
ServerAdmin webmaster@localhost

DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory “/usr/lib/cgi-bin”>
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/access.log combined

Alias /doc/ “/usr/share/doc/”
<Directory “/usr/share/doc/”>
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>

</VirtualHost>

%d bloggers like this: