Difference between revisions of "64-bit FAQ (Српски)"

From ArchWiki
Jump to: navigation, search
(Will I have all the packages from my 32-bit Arch I am used to?)
(17 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[[Category:Arch64_Srpski]].
+
[[Category:About Arch (Српски)]]
[[Category:FAQs (Srpski)]]
+
[[cs:Arch64 FAQ]]
 
+
[[el:Arch64 FAQ]]
{{i18n_links_start}}
+
[[en:Arch64 FAQ]]
{{i18n_entry|Česky|Arch64 FAQ (Česky)}}
+
[[es:Arch64 FAQ]]
{{i18n_entry|English|Arch64 FAQ}}
+
[[it:Arch64 FAQ]]
{{i18n_entry|Español|Arch64 FAQ (Español)}}
+
[[ru:Arch64 FAQ]]
{{i18n_entry|Ελληνικά|Arch64 FAQ (Ελληνικά)}}
+
[[zh-CN:Arch64 FAQ]]
{{i18n_entry|Français|Arch64 FAQ (Français)}}
+
{{i18n_entry|Italiano|Arch64 FAQ (Italiano)}}
+
{{i18n_entry|简体中文|Arch64问答_(简体中文)}}
+
{{i18n_entry|Русский|Arch64 FAQ (Русский)}}
+
{{i18n_links_end}}
+
 
+
 
Below is a list of frequently asked questions about Arch64.
 
Below is a list of frequently asked questions about Arch64.
  
 
==Kako da instalirate Arch64?==
 
==Kako da instalirate Arch64?==
Dovoljno je koristiti naš [http://www.archlinux.org/download/ zvanični instalacioni ISO CD].
+
Dovoljno je koristiti naš [https://www.archlinux.org/download/ zvanični instalacioni ISO CD].
  
 
==Koliko je potpun port?==
 
==Koliko je potpun port?==
Port je spreman za svakodnevno korišćenje u desktop iliserverskom okruženju.
+
Port je spreman za svakodnevno korišćenje u desktop ili serverskom okruženju.
  
 
==Hoću li imati sve pakete kao na 32-bitnom Archu koji sam imao?==
 
==Hoću li imati sve pakete kao na 32-bitnom Archu koji sam imao?==
Line 26: Line 20:
 
Najčešće paket u AUR će imat  'i686' , ali možete dodat u liniju PKGBUILD i  'x86_64' i najverovatnije da će vam paket radit.
 
Najčešće paket u AUR će imat  'i686' , ali možete dodat u liniju PKGBUILD i  'x86_64' i najverovatnije da će vam paket radit.
  
==Does 64-bit mean a great speed improvement?==
+
==Da li 64-bita znače veliko brzinsko poboljšanje?==
 
For applications using the 64-bit CPU registers (large databases and such) this is true in most cases. Some multimedia applications will also run noticeably faster. If you know an application which is known to be much faster when using SSE3 extensions you can rebuild the package yourself. We ''only'' compile with SSE2 support (from march=x86_64) and -O2 optimizations.
 
For applications using the 64-bit CPU registers (large databases and such) this is true in most cases. Some multimedia applications will also run noticeably faster. If you know an application which is known to be much faster when using SSE3 extensions you can rebuild the package yourself. We ''only'' compile with SSE2 support (from march=x86_64) and -O2 optimizations.
For more read http://forums.gentoo.org/viewtopic.php?t=221045 or http://www.thejemreport.com/mambo/content/view/74/74/ .
+
Za više informacija http://forums.gentoo.org/viewtopic.php?t=221045 ili http://www.thejemreport.com/mambo/content/view/74/74/ .
  
For the rest of the system: It doesn't make any difference if the keyboard waits.  
+
Za ostatak sistema: To ne čini bilo koji razlika ako se čeka na tastaturi.
  
For further details watch our [[Arch64_ToDoS]]. There you will find a list comparing arch32/arch64 package versions.
 
  
 
For certain boot problems try these special kernel boot flags: http://www.x86-64.org/lists/discuss/msg03747.html (dead link)
 
For certain boot problems try these special kernel boot flags: http://www.x86-64.org/lists/discuss/msg03747.html (dead link)
Line 39: Line 32:
  
 
==Kako mogu prijavit greške?==
 
==Kako mogu prijavit greške?==
Jednostavno korištenje's Arch flyspray ali odaberite x86_64 arhitekturu u polje ako mislite da je u portu  problem!
+
Jednostavno korištenje Arch flyspray ali odaberite x86_64 arhitekturu u polje ako mislite da je u portu  problem!
  
 
==Koje riznice bi trebao koristit u pacmanu?==
 
==Koje riznice bi trebao koristit u pacmanu?==
 
Sve riznice su podržane za priključak koje su za x86_64 pakete.
 
Sve riznice su podržane za priključak koje su za x86_64 pakete.
  
==How can I patch existing PKGBUILDs for use with Arch64?==
+
==Kako prepraviti postojeće PKGBUILDs da bi se koristili u Arch64?==
We add to all ported packages this variable:
+
Dodati sledeću varijabilu:
 
  arch=('i686' 'x86_64')  
 
  arch=('i686' 'x86_64')  
 
Add small patches directly to the sources and md5sums area but use for complete different sources:
 
Add small patches directly to the sources and md5sums area but use for complete different sources:
Line 58: Line 51:
 
  fi
 
  fi
  
==What will I miss in Arch64?==
+
==Šta ću propustiti u Arch64?==
 
Ništa, stvarno. Gotovo svi programi podržavaju 64-bitne ili su do sada u tranziciji da postanu 64-bitni kompatibilni.
 
Ništa, stvarno. Gotovo svi programi podržavaju 64-bitne ili su do sada u tranziciji da postanu 64-bitni kompatibilni.
  
 
Ovi programi su prethodno bile problematični, ali sada su na raspolaganju  [[AUR]] i rada u redu:
 
Ovi programi su prethodno bile problematični, ali sada su na raspolaganju  [[AUR]] i rada u redu:
* Skype as bin32-skype
+
* [[Skype]] as bin32-skype
* Wine as bin32-wine
+
* [[Wine]] as bin32-wine
* Zsnes as bin32-zsnes
+
* [[Zsnes]] as bin32-zsnes
  
 
The biggest problem are packages that are either <strong>closed source</strong> or contains x86-specific assembly that is cumbersome to port to 64-bit (typical for emulators).
 
The biggest problem are packages that are either <strong>closed source</strong> or contains x86-specific assembly that is cumbersome to port to 64-bit (typical for emulators).
  
 
* TeamSpeak will not support 64-bit until the next version is released.
 
* TeamSpeak will not support 64-bit until the next version is released.
* Flash player is not as smooth in 64-bit (youtube videos might be choppy)
 
 
* Acrobat Reader plugin is not available in 64-bit, but you can run the 32-bit version in compatibility mode
 
* Acrobat Reader plugin is not available in 64-bit, but you can run the 32-bit version in compatibility mode
  
 
Everything else should work perfectly fine. If you miss any Arch32 package in our port and you know that it will compile on x86_64 (perhaps you have found it as native packages in another 64-bit distribution), just contact the devs or request a new package in the forums.
 
Everything else should work perfectly fine. If you miss any Arch32 package in our port and you know that it will compile on x86_64 (perhaps you have found it as native packages in another 64-bit distribution), just contact the devs or request a new package in the forums.
  
==Can I build 32-bit packages for i686 inside Arch64?==
+
==Mogu li graditi 32-bitne pakete za i686 unutar Arch64?==
  
Yes. You need a working i686 chroot (installation with i686 iso "quickinstall" is recommended for the quick way to install it inside Arch64 or see [[Arch64 Install bundled 32bit system]]). Install "linux32" wrapper pkg from current to make the chroot behave like a real i686 system. Then use this script to login into the chroot environment as root:
+
Da. Potreban vam je radni i686 chroot (installation with i686 iso "quickinstall" is recommended for the quick way to install it inside Arch64 or see [[Arch64 Install bundled 32bit system]]). Install "linux32" wrapper pkg from current to make the chroot behave like a real i686 system. Then use this script to login into the chroot environment as root:
  
 
  #!/bin/bash
 
  #!/bin/bash
Line 119: Line 111:
 
  $ sudo chroot /mnt/arch32 su your32bitusername /opt/openoffice/program/soffice
 
  $ sudo chroot /mnt/arch32 su your32bitusername /opt/openoffice/program/soffice
  
==Can I upgrade/switch my system from i686 to x86_64 without reinstalling?==
+
==Mogu li nadograditi / promeniti moj sistem od i686 bez ponovno instalirajte na x86_64?==
- No. However, you can start the system with the Arch64 install CD, mount the disk, backup anything you may want to keep that isn't a 32-bit binary (e.g: /home & /etc), and install.
+
- Ne, međutim, možete pokrenuti sistem s Arch64 instalirati CD, montirajte disk, backup sve Vaše podatke koje  želite zadržati da nije 32-bitni binarni  (npr: /home & /etc), i instalirajte.

Revision as of 08:29, 29 December 2012

Below is a list of frequently asked questions about Arch64.

Kako da instalirate Arch64?

Dovoljno je koristiti naš zvanični instalacioni ISO CD.

Koliko je potpun port?

Port je spreman za svakodnevno korišćenje u desktop ili serverskom okruženju.

Hoću li imati sve pakete kao na 32-bitnom Archu koji sam imao?

Osnovne i dodante riznice imaju gotovo sve pakete kao i na i686 i redovno se nadograđuju svaki dan samo je razlika par sati pri dolasku nove nadogradnje.

Najčešće paket u AUR će imat 'i686' , ali možete dodat u liniju PKGBUILD i 'x86_64' i najverovatnije da će vam paket radit.

Da li 64-bita znače veliko brzinsko poboljšanje?

For applications using the 64-bit CPU registers (large databases and such) this is true in most cases. Some multimedia applications will also run noticeably faster. If you know an application which is known to be much faster when using SSE3 extensions you can rebuild the package yourself. We only compile with SSE2 support (from march=x86_64) and -O2 optimizations. Za više informacija http://forums.gentoo.org/viewtopic.php?t=221045 ili http://www.thejemreport.com/mambo/content/view/74/74/ .

Za ostatak sistema: To ne čini bilo koji razlika ako se čeka na tastaturi.


For certain boot problems try these special kernel boot flags: http://www.x86-64.org/lists/discuss/msg03747.html (dead link)

I have three 64-bit Archies running now, and they perform noticeably better under heavy load. It just seems to deliver more punch.

Kako mogu prijavit greške?

Jednostavno korištenje Arch flyspray ali odaberite x86_64 arhitekturu u polje ako mislite da je u portu problem!

Koje riznice bi trebao koristit u pacmanu?

Sve riznice su podržane za priključak koje su za x86_64 pakete.

Kako prepraviti postojeće PKGBUILDs da bi se koristili u Arch64?

Dodati sledeću varijabilu:

arch=('i686' 'x86_64') 

Add small patches directly to the sources and md5sums area but use for complete different sources:

[ "$CARCH" = "x86_64" ] && source=(${source[@]} 'other source')
[ "$CARCH" = "x86_64" ] && md5sums=(${md5sums[@]} 'other md5sum')

For any small fix use this in the build area:

[ "$CARCH" = "x86_64" ] && (patch -Np0 -i ../foo_x86_64.patch || return 1)

Or when you need more changes:

if [ "$CARCH" = "x86_64" ]; then
    configure/patch/sed      # for x86_64
  else configure/patch/sed   # for i686
fi

Šta ću propustiti u Arch64?

Ništa, stvarno. Gotovo svi programi podržavaju 64-bitne ili su do sada u tranziciji da postanu 64-bitni kompatibilni.

Ovi programi su prethodno bile problematični, ali sada su na raspolaganju AUR i rada u redu:

The biggest problem are packages that are either closed source or contains x86-specific assembly that is cumbersome to port to 64-bit (typical for emulators).

  • TeamSpeak will not support 64-bit until the next version is released.
  • Acrobat Reader plugin is not available in 64-bit, but you can run the 32-bit version in compatibility mode

Everything else should work perfectly fine. If you miss any Arch32 package in our port and you know that it will compile on x86_64 (perhaps you have found it as native packages in another 64-bit distribution), just contact the devs or request a new package in the forums.

Mogu li graditi 32-bitne pakete za i686 unutar Arch64?

Da. Potreban vam je radni i686 chroot (installation with i686 iso "quickinstall" is recommended for the quick way to install it inside Arch64 or see Arch64 Install bundled 32bit system). Install "linux32" wrapper pkg from current to make the chroot behave like a real i686 system. Then use this script to login into the chroot environment as root:

#!/bin/bash
mount --bind /dev /path-to-your-chroot/dev
mount --bind /dev/pts /path-to-your-chroot/dev/pts
mount --bind /dev/shm /path-to-your-chroot/dev/shm
mount -t proc none /path-to-your-chroot/proc
mount -t sysfs none /path-to-your-chroot/sys
linux32 chroot /path-to-your-chroot

If you keep the sources on the x86_64 host system you can add

"mount --bind /path-to-your-stored-sources /path-to-your-chroot/path-to-your-stored-sources" 

to share sources from host to chroot system for pkg building used in /etc/makepkg.conf.

Mogu li pokrenuti 32-bitne aplikacije unutar Arch64?

Da!

  1. Možete instalirati lib32-* libs iz zajednice repozitorija za Multilib sistema.
  2. Ili možete stvoriti drugi chroot sa 32bit sistemom:

Bootujte u Arch64, startx, otvorite terminal.

$ xhost +local:
$ su
# mount /dev/sda1 /mnt/arch32
# mount --bind /proc /mnt/arch32/proc
# chroot /mnt/arch32
# su your32bitusername
$ /usr/bin/command-you want # or eg: /opt/mozilla/bin/firefox

Neke 32-bit programi (kao OpenOffice) zahteva sledeće dodatke. Sledeća linija se može stavitiu u rc.local kako bi se osiguralo da dobijete sve što vam treba za 32-bitne programe (assuming /mnt/arch32 is mounted in fstab):

mount --bind /dev /mnt/arch32/dev
mount --bind /dev/pts /mnt/arch32/dev/pts
mount --bind /dev/shm /mnt/arch32/dev/shm
mount --bind /proc /mnt/arch32/proc
mount --bind /proc/bus/usb /mnt/arch32/proc/bus/usb
mount --bind /sys /mnt/arch32/sys
mount --bind /tmp /mnt/arch32/tmp
#comment the following line if you do not use the same home folder
mount --bind /home /mnt/arch32/home

Nakon toga možete upisati u terminal:

$ xhost +localhost
$ sudo chroot /mnt/arch32 su your32bitusername /opt/openoffice/program/soffice

Mogu li nadograditi / promeniti moj sistem od i686 bez ponovno instalirajte na x86_64?

- Ne, međutim, možete pokrenuti sistem s Arch64 instalirati CD, montirajte disk, backup sve Vaše podatke koje želite zadržati da nije 32-bitni binarni (npr: /home & /etc), i instalirajte.