réjean Posted March 10, 2014 Share Posted March 10, 2014 Hi all! I would like to add wine to Archlinux. I am presently reading a few wikis; https://wiki.archlinux.org/index.php/Pacman https://www.archlinux.org/pacman/repo-add.8.html because I don't have the appropriate repository and I am not sure how to get it. Any clue anyone? Quote Link to comment Share on other sites More sharing options...
securitybreach Posted March 10, 2014 Share Posted March 10, 2014 pacman -S wine will install wine as it is in the normal repositories: [size=4]comhack@Cerberus ~ % pacman -Ss wine[/size] community/wine-mono 4.5.2-1 Wine's built-in replacement for Microsoft's .NET Framework community/winetricks 20130707-1 Script to install various redistributable runtime libraries in Wine. multilib/q4wine 1.1_r2-1 A Qt4 GUI for Wine multilib/wine 1.7.14-1 [installed] A compatibility layer for running Windows programs multilib/wine_gecko 2.24-1 Wine's built-in replacement for Microsoft's Internet Explorer comhack@Cerberus ~ % https://wiki.archlinux.org/index.php/wine Quote Link to comment Share on other sites More sharing options...
réjean Posted March 10, 2014 Author Share Posted March 10, 2014 Here is a section of my etc/pacman.conf; # # REPOSITORIES # - can be defined here or included from another file # - pacman will search repositories in the order defined here # - local/custom mirrors can be added here or in separate files # - repositories listed first will take precedence when packages # have identical names, regardless of version number # - URLs will have $repo replaced by the name of the current repo # - URLs will have $arch replaced by the name of the architecture # # Repository entries are of the format: # [repo-name] # Server = ServerName # Include = IncludePath # # The header [repo-name] is crucial - it must be present and # uncommented to enable the repo. # # The testing repositories are disabled by default. To enable, uncomment the # repo name header and Include lines. You can add preferred servers immediately # after the header, and they will be used before the default mirrors. #[testing] #Include = /etc/pacman.d/mirrorlist [core] Include = /etc/pacman.d/mirrorlist [extra] Include = /etc/pacman.d/mirrorlist #[community-testing] #Include = /etc/pacman.d/mirrorlist [community] Include = /etc/pacman.d/mirrorlist # If you want to run 32 bit applications on your x86_64 system, # enable the multilib repositories as required here. #[multilib-testing] #Include = /etc/pacman.d/mirrorlist #[multilib] #Include = /etc/pacman.d/mirrorlist # An example of a custom package repository. See the pacman manpage for # tips on creating your own repositories. #[custom] #SigLevel = Optional TrustAll #Server = file:///home/custompkgs I have been trying your command for over an hour josh; [rejean@rejean-G41MT-S2PT ~]$ pacman -S wine error: you cannot perform this operation unless you are root. [rejean@rejean-G41MT-S2PT ~]$ su Password: [root@rejean-G41MT-S2PT rejean]# pacman -S wine error: target not found: wine [root@rejean-G41MT-S2PT rejean]# Quote Link to comment Share on other sites More sharing options...
réjean Posted March 10, 2014 Author Share Posted March 10, 2014 I must have the -64 bit don't you think; #[multilib] #Include = /etc/pacman.d/mirrorlist I tried the following; [root@rejean-G41MT-S2PT rejean]# pacman -S gedit resolving dependencies... looking for inter-conflicts... Packages (1): gedit-3.10.4-1 Total Download Size: 2.07 MiB Total Installed Size: 14.90 MiB :: Proceed with installation? [Y/n] y :: Retrieving packages ... gedit-3.10.4-1-x86_64 2.1 MiB 403K/s 00:05 [#####################] 100% (1/1) checking keys in keyring [#####################] 100% (1/1) checking package integrity [#####################] 100% (1/1) loading package files [#####################] 100% (1/1) checking for file conflicts [#####################] 100% (1/1) checking available disk space [#####################] 100% (1/1) installing gedit [#####################] 100% Optional dependencies for gedit zeitgeist: Zeitgeist plugin [installed] [root@rejean-G41MT-S2PT rejean]# gedit /etc/pacman.mirrorlist (gedit:8609): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. No protocol specified ** (gedit:8609): WARNING **: Could not open X display No protocol specified Unable to init server (gedit:8609): Gtk-WARNING **: cannot open display: :0 [root@rejean-G41MT-S2PT rejean]# Quote Link to comment Share on other sites More sharing options...
réjean Posted March 10, 2014 Author Share Posted March 10, 2014 I have tried; [rejean@rejean-G41MT-S2PT ~]$ su Password: [root@rejean-G41MT-S2PT rejean]# gedit /etc/pacman.conf (gedit:9311): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. No protocol specified ** (gedit:9311): WARNING **: Could not open X display No protocol specified Unable to init server (gedit:9311): Gtk-WARNING **: cannot open display: :0 [root@rejean-G41MT-S2PT rejean]# Kate /etc/pacman.conf bash: Kate: command not found [root@rejean-G41MT-S2PT rejean]# kate etc/pacman.conf QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. No protocol specified kate: cannot connect to X server :0 [root@rejean-G41MT-S2PT rejean]# Quote Link to comment Share on other sites More sharing options...
securitybreach Posted March 10, 2014 Share Posted March 10, 2014 Simply uncomment the multilib line in /etc/pacman.conf #[multilib] #Include = /etc/pacman.d/mirrorlist Should be: [multilib] Include = /etc/pacman.d/mirrorlist Then as root, run pacman -Syy to reload and pacman -S wine to install Quote Link to comment Share on other sites More sharing options...
securitybreach Posted March 10, 2014 Share Posted March 10, 2014 Here is mine for reference: comhack@Cerberus ~ % cat /etc/pacman.conf # # /etc/pacman.conf # # See the pacman.conf(5) manpage for option and repository directives # # GENERAL OPTIONS # [options] # The following paths are commented out with their default values listed. # If you wish to use different paths, uncomment and update the paths. #RootDir = / #DBPath = /var/lib/pacman/ #CacheDir = /var/cache/pacman/pkg/ #LogFile = /var/log/pacman.log #GPGDir = /etc/pacman.d/gnupg/ HoldPkg = pacman glibc #XferCommand = /usr/bin/curl -C - -f %u > %o #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u #CleanMethod = KeepInstalled #UseDelta = 0.7 Architecture = auto ILoveCandy # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup #IgnorePkg = #IgnoreGroup = #NoUpgrade = #NoExtract = # Misc options #UseSyslog Color TotalDownload CheckSpace #VerbosePkgLists # By default, pacman accepts packages signed by keys that its local keyring # trusts (see pacman-key and its man page), as well as unsigned packages. #SigLevel = Required DatabaseOptional #LocalFileSigLevel = Optional #RemoteFileSigLevel = Required # NOTE: You must run `pacman-key --init` before first using pacman; the local # keyring can then be populated with the keys of all official Arch Linux # packagers with `pacman-key --populate archlinux`. # # REPOSITORIES # - can be defined here or included from another file # - pacman will search repositories in the order defined here # - local/custom mirrors can be added here or in separate files # - repositories listed first will take precedence when packages # have identical names, regardless of version number # - URLs will have $repo replaced by the name of the current repo # - URLs will have $arch replaced by the name of the architecture # # Repository entries are of the format: # [repo-name] # Server = ServerName # Include = IncludePath # # The header [repo-name] is crucial - it must be present and # uncommented to enable the repo. # # The testing repositories are disabled by default. To enable, uncomment the # repo name header and Include lines. You can add preferred servers immediately # after the header, and they will be used before the default mirrors. [testing] SigLevel = PackageRequired Include = /etc/pacman.d/mirrorlist [core] SigLevel = PackageRequired Include = /etc/pacman.d/mirrorlist [extra] SigLevel = PackageRequired Include = /etc/pacman.d/mirrorlist [community-testing] SigLevel = PackageRequired Include = /etc/pacman.d/mirrorlist [community] SigLevel = PackageRequired Include = /etc/pacman.d/mirrorlist [multilib-testing] SigLevel = PackageRequired Include = /etc/pacman.d/mirrorlist [multilib] SigLevel = PackageRequired Include = /etc/pacman.d/mirrorlist [repo-ck] SigLevel = PackageRequired Server = http://repo-ck.com/$arch Quote Link to comment Share on other sites More sharing options...
réjean Posted March 10, 2014 Author Share Posted March 10, 2014 Thanks josh! ...(42/43) installing lib32-libsm [#####################] 100% (43/43) installing wine [#####################] 100% Optional dependencies for wine giflib [installed] lib32-giflib libpng [installed] lib32-libpng [installed] libldap [installed] lib32-libldap gnutls [installed] lib32-gnutls lcms2 [installed] lib32-lcms2 libxml2 [installed] lib32-libxml2 mpg123 [installed] lib32-mpg123 openal [installed] lib32-openal v4l-utils [installed] lib32-v4l-utils libpulse [installed] lib32-libpulse alsa-plugins [installed] lib32-alsa-plugins alsa-lib [installed] lib32-alsa-lib libjpeg-turbo [installed] lib32-libjpeg-turbo libxcomposite [installed] lib32-libxcomposite libxinerama [installed] lib32-libxinerama ncurses [installed] lib32-ncurses libcl lib32-libcl cups samba dosbox [root@rejean-G41MT-S2PT rejean]# 1 Quote Link to comment Share on other sites More sharing options...
securitybreach Posted March 10, 2014 Share Posted March 10, 2014 Not a problem. Glad I was able to help you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.