Ubuntu:Feisty arabic

From

Image:Ubuntuguide_logo.png


هذه الصفحه مخصصه لتعريب الشرح الموجود على الرابط التالي: http://ubuntuguide.org/wiki/Ubuntu:Feisty يرجى من الجميع المساهمه بما يستطيع لتكوين وثيقة مساعده للمستخدم العربي.. لتغير أي شيء يرجى التسجيل وللمعلومات أكثر قم بزيارة القناه الرسميه على العنوان irc://irc.freenode.org/#ubuntu-sa تم إنشاء الصفحة العربية بواسطة MeMo MaleK X,

Contents

الدليل غير الرسمي لمبتدئي أوبنتو

معلومات عامة

  1. هذا دليل غير رسمي لأبنتو فايستي فاون)باللغة العربية ولايشترك بأي شئ مع الموقع الرسمي لأوبنتو .
  2. يمكن مناقشة هذا الدليل على صفحةUbuntuGuide.org Forum على ubuntuforums.org. .مشاركتك مفيدة وضرورية.
  3. لكي تصل الى سطر الأوامر إذهب الى (Applications -> Accesories -> Terminal)
  4. لكي لا تكون هناك اي اخطاء قمع بنسخ الأمر بالضغط كليك يمين(copy) ثم اذهب الى سطر الاوامر واضغط وكليك يمين (paste)
  5. "sudo"تعني انك ستقوم بتغيير المستخدم الى المستخدم الجذر بعدها سيطلب منك كلمة المرور ستضع كلمة المرور الخاصه بالمستخدم الجذر.
  6. ان كنت لا ترغب في استخدام apt-get بشكل متكرر يمكنك ان تستعيض عنها بالواجهة الرسومية Synaptic
  7. معنى أوبنتو : من أجل الإنسانية

هل هناك أدلة أخرى ل*بونتو?

  • KubuntuGuide
  • XubuntuGuide
  • Ubuntu Step By Step Guides For Ubuntu Users
  • The Ubuntu Wiki
  • Free Ubuntu Linux E-books
  • Official Ubuntu Documentation Help Guide

البداية

بيئة سطح المكتب

إين يمكن ان تشاهد صور شاشه/تسجيل شاشة

هذه هي بيئة سطح المكتب المعتمدة على جنوم النسخه الأولية لأبونتو.

  • أوبنتو فايستي فاون صور شاشة لكنها شاشات للنسخة الإنجليزية وأما النسخة العربية فشاشاتها عربية وهي غير معروضة هنا
  • Ubuntuclips.org - مرئيات دليل لينكس (أوبنتو) من أجل الإنسانية
  • Ubuntu Video - مرئيات لينكس (أوبنتو) من أجل لإنسانية

أين يمكن مشاهدة صور شاشة/تسجيل شاشة لكوبنتو

هذه بيئة سطح مكتب معتمده على kde. إطلغ علىKubuntuguide.org.

  • كوبنتو فايستي فاون صور سطح مكتب

كيفية تنصيب kde(كوبنتو)

إطبع الأمر التالي

sudo apt-get install kubuntu-desktop

سوف يسئلك النظام ان كنت تريد ان تستخدم kdm أو gdm. gdm الفضلى.

System -> Quit -> Log Out
Sessions: KDE
كيفية إزالة kde(كوبنتو)
  • لإزالة الحزم المعتمده عليها kde:
sudo apt-get remove kubuntu-desktop

إن لم تكن قد إستخدمت الأمر السابق, إذن إطلع على هذه التعليمات.

ين يمكن مشاهدة صور شاشة/تسجيل شاشة لـإكس أوبنتو

هذة بيئة سطح مكتب معتمده على إكس أوبنتو. تعمل جيدا مع الأجهزة القديمة ذات الذاكرة المحدودة. إطلع على Xubuntuguide.org.

  • 7.04 صور شاشة لـإكس أوبنتو فايستي فاون
  • صور شاشة إكس أوبنتو المعتمدة

كيفية تنصيبXFCE (Xubuntu)

sudo apt-get install xubuntu-desktop

The xubuntu gdm theme will be set as the default.

System -> Quit -> Log Out
Sessions: XFCE
كيفية إزالةXFCE (Xubuntu)

إحذف الحزمة الرئيسية:

sudo apt-get remove xubuntu-desktop

إذا لم تستخدم هذا الأمر إذا إتبع هذا الدرس.

أين تجد صور لأبونتو ستوديو

أوبونتو ستوديو هو سطح مكتب مخصص لأغراض الملتيمديا

  • صور أوبونتو ستوديو

أين تجد صور لمدير النوافذ Enlightment تحت أوبونتو

إنليتمينت هو مدير نوافذ يحتوى على كثير من التأثيرات الخاصة و يجمع كثير من خصائص جنوم و كيدى

  • Ubuntu Enlightenment(DR17 or E17) صور

كيفية وضع صور من فليكر كخلفية لسطح المكتب

  • حرر ملف /etc/apt/sources.list:
sudo gedit /etc/apt/sources.list
  • أضف هذه السطور فى نهاية الملف:
deb http://debian.websterwood.com/ feisty main
deb-src http://debian.websterwood.com/ feisty main
sudo apt-get update
  • إذا كنت تستخدم جنوم نفذ هذا الأمر:
sudo apt-get install webilder webilder-gnome
  • إذا كنت تستخدم كيدى نفذ هذا الأمر:
sudo apt-get install webilder webilder-kde
  • أضغط بزر الفأرة الأيمن على شريط مهام جنوم (Panel )و إختار "Add to Panel"
  • تحت قائمة 'utility' و إختر 'Webilder Webshots Apple' و إختار 'Add'
  • من المفترض أن تظهر أيقونه كاميرا صغيره على شريط المهام
  • إضغط بزر الفأرة الأيمن على 'Flickr' و إختار 'Preferences' و قم بتحريره

Official Website: http://www.flickr.com/

Please click for features and photos of the installation process

كيفية تثبيت FluxBox

فلاكس بوكس هو مدير نوافذ بسيط و خفيف و سهل الإستخدام. لمزيد من المعلومات Screenshots.

sudo apt-get install fluxbox menu
  • تشغيل فلاكس بوكس من GDM:
echo "exec startfluxbox" > ~/.xinitrc
  • تغيير صوت البدء:
sudo apt-get install sox
gedit ~/.fluxbox/startup

إبحث عن هذا السطر:

exec /usr/local/bin/fluxbox

ضع هذا السطر فوقه :

play /usr/share/sounds/login.wav > /dev/null 2>&1 &

كيفية تثبيتl Blackbox

  • بلاك بوكس هو مدير نوافذ خفيف و لكن لا يتم تحديثه بسرعه. .أنظر Blackbox Wiki لمزيد من المعلومات
sudo apt-get install blackbox menu

How to change the USplash Screen when you boot or shutdown the computer

When you add another Desktop Environment, the USplash screen may change (saying Kubuntu instead of Ubuntu). If you want to change it, do the following:

sudo update-alternatives --config usplash-artwork.so

This will bring up a list of installed USplash screens. Type the number that corresponds to the one you want and press Enter. Then type:

sudo dpkg-reconfigure usplash

Then reboot.

أين تبحث عن مواد لتجميل نظامك

  • http://art.gnome.org/
  • http://www.gnome-look.org/
  • http://www.kde-look.org/
  • http://xfce-look.org/

How to configure GLSlideshow

  • GLSlideshow is a screensaver that shows your images in a slideshow with smooth panning and fading. To enable it:
System-->Preferences-->Screensaver-->GLSlideshow
  • Feisty doesn't offer a way to edit the directory for the images (/usr/share/backgrounds) for users other than root. The simplest way around this is to create any folder (into which you will place your pictures to be used for the screensaver) and then place a symbolic link to that folder in /usr/share/backgrounds. In the example, I will make a folder called screensaverpics, but it can be any folder.
mkdir ~/screensaverpics
gksudo ln -s /usr/share/backgrounds ~/screensaverpics

Using gksudo vs. sudo

Commands (in the command line terminal) that require administrator or root privileges must be preceded by sudo, or the graphical version, gksudo. For most uses, the commands are interchangeable and either can be used.

However, there are some subtle differences. Specifically, gksudo launches with the root configuration files, while sudo launches with the user's configuration files.

Here is a nice discussion. This discussion recommends gksudo for all uses except when a purely command line environment is being used, such as when there is no desktop environment installed. In that case use sudo.

In this guide, both are used. When commands are applicable to both the server-only versions of Ubuntu as well as the desktop versions, sudo is used. However, in a Gnome desktop environment, gksudo can usually be substituted.

(Note: gksudo is the version of sudo for use in Gnome, the default desktop for Ubuntu. For Kubuntu (KDE) users, use kdesu instead.)

How to run commands in the command line terminal
  • This is for Gnome. Start up the command line terminal:
Applications-->Accessories-->Terminal
  • If you do not see the Terminal menu item, then add it to your menu:
Right click Applications-->Edit menus-->Accessories-->Terminal (checked)

3-D Desktops

Compiz / Desktop Effects

  • In Feisty, Compiz has been installed. It is still experimental, though, and many effects do not work for many users.
  • To access some effects from the menu:
System--> Preferences --> Desktop Effects
  • To change the compiz configuration (not recommended at this time):
  • Enable the Configuration Editor menu item:
Right Click Applications-->Edit Menus-->System Tools-->Configuration Editor (checked)
  • Run the Configuration Editor:
Applications-->Edit Menus-->System Tools-->Configuration Editor
apps-->compiz--> ??

OpenCompositing: Beryl and Compiz

Beryl has been discontinued as of March 2007, but is still supported. Beryl and Compiz are being (re-)merged, under the OpenCompositing banner. Visit OpenCompositing.org for more info. Compiz is installed by default in Feisty. A full installation guide with specific instructions for nVidia, ATI, and Intel graphics card can be found at the Compiz documentation site. Instructions for obtaining the newest version are available at Compiz Ubuntu Installation Guide.

  • For Intel graphics card, you will need xf86-video-i810 and AIGLX.
  • For nVidia graphics cards, you will need to uninstall old nVidia drivers and install new ones. Read the complete instructions at http://www.compiz.org/NVidia.
  • For ATI graphics cards, refer to instructions at http://www.compiz.org/ATI.
  • If compiz is not installed, install it from Synaptic Package Manager or from the command line terminal:
gksudo apt-get install compiz
How to install Beryl (ATI)

Please note: There are 2 ways of installing Beryl for ATI Cards: one using open source modules and one using proprietary modules. Try the open source method first; uninstall steps are listed in case it does not work, or if you would like to try the proprietary drivers instead, afterwards. (They may have better frame rates and may support your card better.)

Install Beryl using Open Source drivers
  • This works on a 64 bit system as well
  • This works with older ATI cards
  • This method uses the open source radeon drivers.
  • This method uses AIGLX. If direct rendering is not working for you yet, rendering will be slow until you can get that up and running.
deb http://ubuntu.beryl-project.org/ feisty main 
  • Add the GPG key for the repository and update the packages list:
wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add - 
gksudo apt-get update
  • Make a backup copy of your xorg.conf configuration file then edit it:
cp -p /etc/X11/xorg.conf /etc/X11/xorgold.conf
gksudo gedit /etc/X11/xorg.conf 

Under "Module" section, make sure that the following lines are included (add them if they are not):

Load "dri"
Load "vbe"
Load "glx"

Make sure these lines are at the end of the file:

Section "DRI"
 Mode 0666
EndSection
  • Reboot. (Don't restart X only. I had odd things happen to me when I skipped rebooting.)
  • Install the beryl window manager:
gksudo apt-get install beryl beryl-manager
beryl-manager --no-force-window-manager

This will start beryl but wont activate it yet.

  • Change the setup to include AIGLX:
Right click on the diamond near the clock-->Advanced Beryl Options
Window Manager: Metacity(GNOME)
Rendering Path: copy
Advanced-->Change Rendering Platform: AIGLX.
  • Right click the diamond-->Select Window Manager: Beryl

If it all works and you can spin the cube ok, etc., then change the rendering path back to automatic.

If it doesn't work properly, reboot and re-start beryl:

beryl-manager --no-force-window-manager
  • Make Beryl start automatically at boot:
System-->Preferences-->Sessions 
New: beryl-manager

Reboot.

Uninstall Beryl (open source installation)
  • If the open source installation method did not work, revert by following these steps:
Drop to console outside GUI. Type:
rm ~/.config/autostart/beryl-manager.desktop

This removes beryl from startup.

Copy your originally saved xorg.conf file back.
gksudo cp -p /etc/X11/xorgold.conf /etc/X11/xorg.conf
Reboot.
  • Run the nautilus file browser. Show hidden files. Browse to your user's home directory and delete the .beryl and .emerald folders, and the .beryl-managerrc file.

This can be done from the command line as well:

rm -r ~/.beryl
rm -r ~/.emerald
rm ~/.beryl-managerrc
  • Remove the beryl packages:
gksudo apt-get remove beryl beryl-manager emerald-themes
gksudo apt-get autoremove
  • Remove the repository.
Install Beryl using proprietary FGLRX drivers from ATI
  • For more info:ubuntuforums discussion
  • This has been tested for 32-bit version only.
  • The ATI fglrx driver will not support the built-in Compiz features in Ubuntu. Install Xgl to run the new version of Beryl with an ATI card:
gksudo apt-get install xserver-xgl
  • Write a script so Xgl can start on its own:
gksudo gedit /usr/local/bin/startxgl.sh

Enter and save this script information:

#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
exec dbus-launch --exit-with-session gnome-session

If you are missing your shutdown and restart buttons, use this instead:

#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
xauth -i add :1 . "$cookie"
exec dbus-launch --exit-with-session gnome-session
  • Make the script executable:
gksudo chmod a+x /usr/local/bin/startxgl.sh
  • Put in an Xgl option in the GDM login screen:
gksudo gedit /usr/share/xsessions/xgl.desktop

Enter and save this script information:

[Desktop Entry]
Encoding=UTF-8
Name=GNOME with XGL
Comment=
Exec=/usr/local/bin/startxgl.sh
Icon=
Type=Application
  • Make this script executable:
gksudo chmod a+x /usr/share/xsessions/xgl.desktop
  • Disable the universe repositories (these provide Beryl software that is incompatible with the fglrx driver):
System > Administration > Software Sources 
Uncheck Community-maintained Open Source software (universe)
  • Add the correct repository key:
gksudo wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -
deb http://ubuntu.beryl-project.org/ feisty main
  • Add the GPG key for the repository and update the packages list:
wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add - 
gksudo apt-get update
  • Install Beryl:
gksudo apt-get install beryl
  • Install your ATI drivers (if needed):
System > Administration > Restricted Drivers Manager
Enable: ATI graphics card

Reboot.

  • Choosing Xgl from the Sessions list at your login screen. Then test Beryl:
beryl-manager
emerald --replace
Right-click on the black diamond next to the clock-->Select Windows Manager: Beryl
Select Windows Decorator: Standard Beryl Decorator (Emerald)
Reload
  • If you are using ATI with XGL, you'll may get an error that beryl-xgl is missing. Download beryl-core:
wget http://ubuntu.beryl-project.org/pool/feisty/main/0.2.0/beryl-core_0.2.0~0beryl1_i386.deb

Unpack beryl-xgl to ~/Desktop and copy the module to the appropriate directory:

gksudo cp ~/Desktop/beryl-xgl /usr/bin/beryl-xgl
  • If you are having problems with multiple users in XGL,see this thread.
  • Add Beryl and the Emerald themes to your start-up programs:
System > Preferences > Sessions
New-->Name: Beryl
Command: beryl-manager
New-->Name: Emerald Theme
Command: emerald --replace
  • Re-enable your universe repositories, but make sure you do not let it update anything related to Beryl.
How to install Beryl (Nvidia)
  • For an introduction to Beryl, read Beryl (Wikipedia)
  • Read #General Notes
  • Read #How to add extra repositories
  • These are legacy instructions and may not work. Always try the Ubuntu compiz package first.
  • Read Beryl and Nvidia Drivers Installation Steps
  • Read Howto Fix Beryl Workspaces Problem in Feisty Fawn
  • Back up xorg.conf:
gksudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
gksudo gedit /etc/X11/xorg.conf
  • Install Nvidia Driver for Graphics Card:
System -> Administration -> Restricted Driver Manager
Enable: Nvidia Drivers

Restart X-Windows and confirm Nvidia Drivers are working correctly.

  • Install Beryl:
gksudo apt-get install beryl emerald-themes beryl-manager
  • Start Beryl:
beryl-manager
  • Start Emerald (if it doesn't start on its own):
emerald --replace
  • Load Beryl and Emerald automatically load at login:
System -> Preferences -> Sessions
Startup Programs -> New: beryl-manager
Startup Programs -> New: emerald --replace
  • Reboot.
  • If program menus aren't displaying in the correct layer (you can't see them when you select them because they are displaying behind the window):
Right click on the Beryl Manager icon-->Reload Window Manager

The problem should be solved the next time you reboot.

  • If your windows have no title bar (with the minimise, maximise and close buttons) or borders, edit /etc/X11/xorg.conf configuration file:
gksudo gedit /etc/X11/xorg.conf

Add this line to the Device section:

Option "AddARGBGLXVisuals" "True"

and change the Screen section to:

DefaultDepth 24  

(See this page for more details.)

  • If you are using a NVIDIA GeForceGo graphics card you may also need to add to the Device section of /etc/X11/xorg.conf:
Option "DisableGLXRootClipping" "True"
  • If that still doesn't help then right click on the beryl diamond icon by the clock and select
advanced beryl options-->rendering platform: force AIGLX
What to do if Video players crash while using Beryl
  • See bug 96226
  • You will need to change video driver from xv to x11 in ~/.mplayer/config and gstreamer-properties.
How to fix black windows during video playback
  • There is a workaround to this bug by changing the video output device on your video player.
  • For gstreamer-dependent players (Totem, etc.):
gstreamer-properties
Video-->Default Video Plugin: X Window System (No Xv)

Click Test to verify that video playback is working (you should be able to see the standard TV testing colour stripes).

  • For VLC player(if installed):
VLC-->Settings-->Preferences
Video-->Output modules-->Advanced: X11
  • For MPlayer (if installed):
Mplayer-->Right-click on the screen-->Preferences
Video-->Available Drivers: X11 (XImage/Shm)

Some users report that MPlayer may not be able to show videos in full screen.

  • For Xine player (if installed):
Xine-->File-->Configure-->Preferences
experience_level: Master Of The Known Universe
Video-->Driver: xshm 
  • For RealPlayer (if installed):
RealPlayer-->Tools-->Preferences
Hardware-->Deselect: Use XVideo


  • For more info: Video playback problems(black) after installing Beryl (or Compiz)/February 23rd, 2007 and Re: Movies minus blue background/May 3rd, 2007
How to improve sub-pixel font rendering for Feisty
  • This will improve the appearance of fonts.
  • The patched libraries are built against Freetype 2.3.x (not currently in Feisty) and include David Turner's sub-pixel rendering patches.
deb http://www.telemail.fi/mlind/ubuntu feisty fonts
deb-src http://www.telemail.fi/mlind/ubuntu feisty fonts

Add the repository keys:

gpg --keyserver subkeys.pgp.net --recv-keys 937215FF
gpg --export --armor 937215FF | sudo apt-key add -
deb http://ubuntu.moshen.de feisty experimental
deb-src http://ubuntu.moshen.de feisty experimental

Add the repository keys:

wget http://ubuntu.moshen.de/2F306651.gpg -O- | sudo apt-key add -

Note: 25th July 2007 - This repository doesn't work.

  • Install the font packages
gksudo apt-get update
gksudo apt-get install libfreetype6 libcairo2 libxft2
  • Reconfigure font settings. The following settings work well: Native, Automatic, No bitmapped fonts.
gksudo dpkg-reconfigure fontconfig-config
gksudo dpkg-reconfigure fontconfig

Note: If you later decide to go back to Ubuntu packages, you must downgrade all three installed packages. For more info: see here.

How to configure GLSlideshow
  • Create a .xscreensaver file in your home directory:
gksudo gedit .xscreensaver
  • Add this line:
imageDirectory:	/path/to/images/
  • Save it and test the screensaver by locking your screen. You'll see your images, but it will repeat the same one over and over. To fix this, change your glslideshow.desktop configuration file:
gksudo gedit /usr/share/applications/screensavers/glslideshow.desktop
  • Look for the following entry:
Exec=glslideshow -root
  • Modify this line to instead read:
Exec=glslideshow -root -duration 10 -pan 10 -fade 3
  • Save and try the screensaver again. You should see all of your images in a random-ordered slideshow.
  • More info here
كيفية إضافة التأثيرات ثلاثية الأبعاد Compiz Fusion

أضف هذه المستودعات لقائمة مستودعاتك:

deb http://download.tuxfamily.org/3v1deb feisty eyecandy
deb-src http://download.tuxfamily.org/3v1deb feisty eyecandy
  • Add the GPG key:
wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg -O- | sudo apt-key add - 
  • حدث قائمة المستودعات:
gksudo apt-get update
gksudo apt-get -y upgrade
  • خد نسخة أحتياطية من ملف /etc/X11/xorg.conf و قم بتحريره:
cp -p /etc/X11/xorg.conf /etc/X11/xorgold.conf
gksudo gedit /etc/X11/xorg.conf 

Under the Module section "Module", include the following lines, if they are not already there:

Load "dri"
Load "vbe"
Load "glx"

و تحقق من أن آخر الملف يحتوى على هذه السطور:

Section "DRI"
 Mode 0666
EndSection

قم بإعادة تشغيل النظام ككل و ليس خادم إكس فقط.

  • التثبيت لواجهة جنوم:
gksudo apt-get -y install compiz compiz-gnome compizconfig-settings-manager compiz-fusion-plugins-extra libcompizconfig-backend-gconf

أو

التثبيت لواجهة كى دى إى:

gksudo apt-get -y install compiz compiz-kde compizconfig-settings-manager compiz-fusion-plugins-extra libcompizconfig-backend-kconfig
  • تشغيل كومبيز:
compiz --replace
  • مزيد من المعلومات: How to Install Compiz Fusion on Ubuntu)
كيفية تثبيت compiz (nVidia)
  • How to enable Compiz in Feisty with Nvidia drivers.

Project Looking Glass

This is a 3-D window manager based on Java technology.

  • Read Getting Started with Project Looking Glass
  • A .deb package is available for download.

التحديث و الترقية

تحديث أويونتو إدجى 6.06 لـ فايستى 7.04

  • الطريقة الأولى:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
  • الطريقة الثانية:
  • الدليل خطوة بخطوة و بالصور
  • دليل ترقية نسخة الخادمات من أوبونتو من إدجى لـ فايستى
الترقية من النسخة 6.06 ل 6.10 لـ 7.04
  • الطريقة الأولى:
  • System-->Administration-->Update Manager.

يمكنك الترقية من 6.06 إلى 6.10 ثم مرة أخرى إلى 7.04 لا تحاول التحديث من 6.06 إلى 7.04 مرة واحدة و إلا سيحدث الكثير من المشاكل لنظامك

  • الطريقة الثانية: أقرأ Upgrade from Ubuntu Dapper or Edgy to Feisty Fawn

تفعيل التحديث الآلى للحزم

  • تفعيله من القوائم:
System-->Administration-->Software Sources-->Updates

Select Important Security Updates and Recommended Security Updates and any other desired updates. Choose frequency of updates.

تحديث أوبونتو يدوياً

sudo apt-get update
sudo apt-get upgrade
  • من القوائم:
System -> Administration -> Update Manager

كيفية إضافة مستودعات برامج إضافية

بإستخدام القوائم

  • الطريقة المفضلة لإضافة مستودعات البرامج هى إضافة المستودعات المعتمده من أوبونتو و هى جزء من التوزيعة نفسها
System-->Administration-->Software Sources

تفقد المستودعات اللتى من الممكن ان تكون مفيده لك

  • (main, universe, restricted, multiverse)

ومن المرجح أنك لن تحتاج إلى المستودعات التى تحتوى على الشفرة المصدرية للبرامج sources


  • أضف أى مستودعات أخرى تريدها و لاحظ أن هذه امستودعات غير مراقبةباى شكل كان و رغم ان بعضها شائع إلا أن استخداها يبقى على مسؤليتك الخاصة
  • System-->Administration-->Software Sources-->Third-party software-->Add


أضف المستودعات التى تريدها . فى هذا المثال ,إستخدمنا

  • Medibuntu

و هو مستودع شائع و غير مرتبط بالتوزيعة الرسمية بأى شكل من الأشكال

APT line: deb http://packages.medibuntu.org/ feisty free non-free
  • حمل أى ملفات جى بى جى و أضفهم إلى قائمة المفاتيح . هذا يقوم بتعريف المستودع لنظامك

كما فى المثال :

wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -

تعديل ملف sources.list يدوياً

  • استخدم التعديلات اليدوية على مسؤليتك الخاصة .إضافة مستوتدعات متضاربة قد يؤدى إلى تخريب نظامك

قم بعمل نسخة إحتياطية من ملف المصادر

sudo cp -i /etc/apt/sources.list /etc/apt/sources.list_backup
  • إستخدم محرر نصوص لتحرير الملف
  • (gedit or nano)
sudo gedit /etc/apt/sources.list
  • عدل المستودعات فى الملف على هذه الشاكله
To use your local mirror you can add "cc." before archive.ubuntu.com, where cc = your country code
e.g. deb http://lv.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
## See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
## newer versions of the distribution.
## Add comments (##) in front of any line to remove it from being checked.   
## Use the following sources.list at your own risk.  
## Uncomment deb-src if you wish to download the source packages
## If you have a install CD you can add it to the reposity using 'apt-cdrom add'
## which will add a line similar to the following:
#deb cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Beta i386 (20070322.1)]/ feisty main restricted
deb http://us.archive.ubuntu.com/ubuntu/ feisty main restricted
#deb-src http://us.archive.ubuntu.com/ubuntu/ feisty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted
#deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ feisty universe
#deb-src http://us.archive.ubuntu.com/ubuntu/ feisty universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ feisty multiverse
#deb-src http://us.archive.ubuntu.com/ubuntu/ feisty multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
#deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu feisty-security main restricted
#deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted
deb http://security.ubuntu.com/ubuntu feisty-security universe
#deb-src http://security.ubuntu.com/ubuntu feisty-security universe
deb http://security.ubuntu.com/ubuntu feisty-security multiverse
#deb-src http://security.ubuntu.com/ubuntu feisty-security multiverse
## PLF REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)
## Medibuntu - Ubuntu 7.04 "feisty fawn"
## Please report any bug on https://launchpad.net/products/medibuntu/+bugs
deb http://packages.medibuntu.org/ feisty free non-free
#deb-src http://medibuntu.sos-sts.com/repo/ feisty free non-free
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu
## servers. RealPlayer10, Opera, DesktopSecure and more to come.) 
deb http://archive.canonical.com/ubuntu feisty-commercial main
## enlightenment e17 beta, use at your own risk
## E17 is in Beta and may break or break your system
#deb http://edevelop.org/pkg-e/ubuntu feisty e17
#deb http://e17.dunnewind.net/ubuntu feisty e17
#deb-src http://edevelop.org/pkg-e/ubuntu feisty e17
  • حمل أى ملفات جى بى جى و أضفهم إلى قائمة المفاتيح . هذا يقوم بتعريف المستودع لنظامك

كما فى المثال :

wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -


  • هذا مثال آخر لستخدام المستودعات الخاصة بواجهة الإستخدام إنلايتمينت
wget -q http://lut1n.ifrance.com/repo_key.asc -O- | sudo apt-key add -
  • أعد تحميل المستودعات فى ابت:
sudo apt-get update
  • بعض مصادر التحميل الاخرى موجودة فى :

http://www.ubuntulinux.nl/source-o-matic or http://3v1n0.tuxfamily.org/blog/lista-repository-sourceslist-ottimizzata-per-ubuntu-kubuntu-linux/

إضافة اسطوانة مضغوطة كمستودع برامج

  • كيفية إضافة اسطوانة أوبونتو / كوبونتو أو إكس أوبونتو كمستودع حزم

أدخل الأسطوانة فى المشغل ثم أكتب التالى فى الترمنال:

sudo apt-cdrom add

إضافة برامج جديدة

أين تبحث عن البرامج الجديدة

  • GetDeb.net
  • GnomeFiles.org
  • KDE-Apps.org
  • FreshMeat.net
  • SourceForge.net
  • LinuxLinks.com

مبادىء نظام إدارة الحزم (البرامج) فى أوبونتو

  • تثبيت حزمة برامج
gksudo apt-get install <packagename> <packagename>

أمثلة:

gksudo apt-get install mpd sbackup
  • حزف حزمة برامج
gksudo apt-get remove <packagename>

لإزالة كل الحزم الإعتمادية الغير مستخدمة:

gksudo apt-get autoremove

إستخدم الإزالة الأوتوماتيكية بعد إزالة حزمة ما.

أمثله:

gksudo apt-get remove mpd sbackup
gksudo apt-get remove kdegames
gksudo apt-get autoremove
  • البحث عن الحزم
gksudo apt-cache search <keywords>

أمثله:

gksudo apt-cache search Music MP3
gksudo apt-cache search "Text Editor"
  • تحديث المستودعات (بعد إضافة او حذف مستودع ما):
gksudo apt-get update
  • ترقية الحزم:
gksudo apt-get upgrade
  • ترقية النظام بأكمله:
gksudo apt-get dist-upgrade

تثبيت حزمة ببرنامج الحزم الخاص بدبيان

  • تثبيت حزمة .ديب قد قمت بتحميلها على جهازك:
gksudo dpkg -i package.deb
  • إزالة حزمة من النظام:
gksudo dpkg -r package
  • تعديل حزمة مثبتة مسبقا:
gksudo dpkg-reconfigure package

أمثلة:

gksudo dpkg-reconfigure mpd
  • عرض معلومات عن الحزمة:
gksudo apt-cache show package

أمثلة:

gksudo apt-cache show beryl

Handling ".tar.gz" (Tar/GZip) Archives

To extract:

tar xvzf package.tar.gz

Note: tar extracts files from an archive. It cannot decompress them. -x means extract. -v means verbose (with a list of what is extracted). -f specifies the file to use. -z means filter through gzip. (gzip compresses/decompresses the archive, not tar.) Alternatively, you could decompress a package (ending in .gz) first by using the command gzip, then extract the resulting .tar file. You would then not have to specify the -z switch.

To create:

tar cvfz package.tar.gz folder

كيفية التعامل مع ملفات .tar.bz

فك ضغط الملفات:

tar xvjf package.tar.bz

ضغط الملفات :

tar cvjf package.tar.bz folder
  • فك ضغط ملفات ".bz" Archives
bunzip2 file.bz
  • فك ضغط ملفات ".gz" Archives
gunzip file.gz

كيفية بناء برنامج من الشفرة المصدرية

إحرص على ان تكون لديك كل الأدوات اللازمة مثل (i.e. libraries, compilers, headers)

gksudo apt-get install build-essential
gksudo apt-get install linux-headers-`uname -r`

"uname -r" يقوم بإخبارك بنوع الكيرنل الذى تملكه

فك ضغط البرنامج

tar xvzf package.tar.gz

إبدأ عملية بناء البرنامج :

cd /path/to/extracted/package
./configure
make
make install

(ملحوظة كتابة /.قبل ملف يخبر لينكس بأن يقوم بتشغيله كبرنامج)

كيفية بناء حزمة برامج لديبيان (.deb)

قم بتثبيت أدوات الحزم:

gksudo apt-get install checkinstall

قم بإعادة بناء الحزمة بإستخدام"checkinstall":

cd /path/to/extracted/package
./configure
make
checkinstall

قم بالإحتفاظ بملفات .deb لأى إستخدام مستقبلاً .. و يمكنك تثبيتها بإستخدام الأمر:

gksudo dpkg -i package.deb

ملاحظة: هذه هى الخطوات الاساسية لبناء الحزم و لكنها لا تنطبق على كل أنواع الحزم حيث أن البعض يتطلب بعض الخطوات الإضافية

Adding programs from the GUI menu

إضافة برامج جديدة من الواجهة الرسومية

Using the Add/Remove feature is very easy and it will not damage your Ubuntu installation.

Applications-->Add/Remove...
  • Search for the sort of program you want to add. Example: type MP3 to see a list of mp3 software.
  • Check the box next to the software.
  • Click the "Apply" button.
  • It will show you a list of the software packages that it will install. Click OK.
مدير الحزم Synaptic
هو مدير الحزم الإفتراضى فى أوبونتو و ديبيان و هو واجهة رسومية لبرنامج apt-get و يمكنك من إضافة و إزالة الحزم بطريقة سهلة و بسيطة
System-->Administration-->Synaptic Package Manager
  • Search for the sort of program you want to add. Example: type MP3 to see a list of mp3 software.
  • Check the box next to the software.
  • Click the "Apply" button.
  • It will show you a list of the software packages that it will install. Click OK.
Automatix2 تثبيت

"تحذير : برنامج Automatix2 هو برنامج غير مفتوح المصدر و مهمته هى تثبيت بعض البرامج الإضافية على جهازك و لكنه يفشل فى كثير من الأحيان مسببا إنهيار النظام. مجتمع أوبونتو لن يقوم بتوفير أى نوع من أنواع الدعم لهذا البرنامج أو اى من المشاكل الناتجه عنه .... أنظر هذا الرابط "

نجح بعض المستخدمين فى تشغيل البرنامج بنجاح بعد تثبيت أوبونتو مباشرة و بدون تحديث النظام و لكن هذه العملية خطرة إلى حد ما ... إستخدم هذا البرنامج على مسئوليتك الخاصة

احصل على آخر نسخه هناhere.

  • لأنظمة x86 العادية
http://www.getautomatix.com/apt/dists/feisty/main/binary-i386/automatix2_1.1-4.7-7.04feisty_i386.deb
  • قم بالتثبيت بهذا الأمر
sudo dpkg -i automatix2_1.1-4.7-7.04feisty_i386.deb
  • لأنظمة AMD64
http://www.getautomatix.com/apt/dists/feisty/main/binary-amd64/automatix2_1.1-4.6-7.04feisty_amd64.deb
  • قم بالتثبيت بهذا الأمر
sudo dpkg -i automatix2_1.1-4.6-7.04feisty_amd64.deb

البرنامج موجود فى القوائم

> System Tools > Automatix
  • دليل تثبيت أوتوماتيكس بالصور
تثبيت Automatix2 بإستخدام apt-get
echo "deb http://www.getautomatix.com/apt feisty main" | sudo tee -a /etc/apt/sources.list
wget http://www.getautomatix.com/keys/automatix2.key
gpg --import automatix2.key
gpg --export --armor E23C5FC3 | sudo apt-key add -
sudo apt-get update
sudo apt-get install automatix2