LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   Chromium Flash Plugin (https://www.linuxquestions.org/questions/arch-29/chromium-flash-plugin-4175535358/)

CincinnatiKid 02-28-2015 06:44 AM

Chromium Flash Plugin
 
I am using 64-bit Chromium browser. I downloaded the 64-bit flash plugin (libflashplayer.so) from the adobe website and put it in /usr/lib/chromium/plugins. When I go to chrome://plugins the flash plugin is not listed. If I go to a website with flash I get a box saying that "This plugin is not supported." Any help would be much appreciated.

JWJones 02-28-2015 07:27 AM

Why not from the Arch repos?

https://www.archlinux.org/packages/e...4/flashplugin/

Code:

pacman -S flashplugin

Head_on_a_Stick 02-28-2015 07:43 AM

Quote:

Originally Posted by JWJones (Post 5324674)
Why not from the Arch repos?

https://www.archlinux.org/packages/e...4/flashplugin/

Code:

pacman -S flashplugin

That's for Firefox -- the Chromium version (chromium-pepper-flash) is in the AUR:
https://aur.archlinux.org/packages/c...-pepper-flash/
https://wiki.archlinux.org/index.php..._Player_plugin

CincinnatiKid 02-28-2015 08:37 AM

What is the AUR, I am new to Arch:

Quote:

[root@localhost plugins]# pacman -S chromium-pepper-flash
error: target not found: chromium-pepper-flash
I am guessing I am missing a repo or something?

TobiSGD 02-28-2015 08:41 AM

The AUR, or Arch User Repository, is a repository of PKGBUILD scripts maintained by Arch users (so it is not officially supported). These scripts can be used to build packages for Arch systems, this can be done either manually or automatically using tools like yaourt.

Head_on_a_Stick 02-28-2015 08:44 AM

Quote:

Originally Posted by CincinnatiKid (Post 5324697)
What is the AUR

https://wiki.archlinux.org/index.php...ser_Repository

You will need to download the tarball from the AUR page I linked then unpack it using:
Code:

tar xf chromium-pepper-flash.tar.gz
Then `cd` into the package directory and build & install the package:
Code:

cd chromium-pepper-flash
makepkg -ics

https://wiki.archlinux.org/index.php...lling_packages

EDIT: Don't use Yaourt, it's rubbish...

Try cower instead.

JWJones 02-28-2015 11:10 AM

Quote:

Originally Posted by Head_on_a_Stick (Post 5324680)
That's for Firefox -- the Chromium version (chromium-pepper-flash) is in the AUR:
https://aur.archlinux.org/packages/c...-pepper-flash/
https://wiki.archlinux.org/index.php..._Player_plugin

Oh yes, that makes sense. Sorry, not using Arch, Chromium, or Flash. :)

CincinnatiKid 02-28-2015 11:54 AM

I guess this means it can't find a dependency from the url in the script?

Code:

[user@localhost chromium-pepper-flash]$ makepkg -ics
==> Making package: chromium-pepper-flash 1:16.0.0.305-1 (Sat Feb 28 12:51:33 EST 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found license.html
  -> Downloading google-chrome-stable-40.0.2214.111-1.x86_64.rpm...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time  Current
                                Dload  Upload  Total  Spent    Left  Speed
  0    0    0    0    0    0      0      0 --:--:-- --:--:-- --:--:--    0curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading google-chrome-stable-40.0.2214.111-1.x86_64.rpm
    Aborting...


CincinnatiKid 02-28-2015 12:02 PM

I downloaded chrome myself, changed the PKGBUILD script to point to the local copy, and also edited the SHA256 checksum to reflect the version of chrome that I downloaded. The script runs now, but couldn't install because I am not in the sudoers file. I guess sudo is required for this right?

CincinnatiKid 02-28-2015 12:05 PM

Ok, once I added my user to the sudoers file, everything works now. Thanks for the help!

Head_on_a_Stick 02-28-2015 12:15 PM

Quote:

Originally Posted by CincinnatiKid (Post 5324770)
I downloaded chrome myself, changed the PKGBUILD script to point to the local copy, and also edited the SHA256 checksum to reflect the version of chrome that I downloaded. The script runs now, but couldn't install because I am not in the sudoers file. I guess sudo is required for this right?

Yes, install sudo then add yourself to the "wheel" group.
Code:

# pacman -Syu sudo
# gpasswd -a <user name> wheel

You will need to log out & back in again for this to take effect.

I see from the comments on the AUR page that the maintainer is out of the country until March 1st -- you can use the tarball provided by @scimmia instead:
https://www.dropbox.com/s/nx7wpcvd4t...5-1.src.tar.gz

EDIT: Too slow...
:(

TobiSGD 02-28-2015 01:00 PM

@Head_on_a-stick: Now that this thread is solved, would you mind to explain the problems you see with yaourt and which advantages cower has? I converted on of my machines to Arch yesterday and would like to know about stuff like that.

Head_on_a_Stick 02-28-2015 01:52 PM

Quote:

Originally Posted by TobiSGD (Post 5324792)
@Head_on_a-stick: Now that this thread is solved, would you mind to explain the problems you see with yaourt and which advantages cower has? I converted on of my machines to Arch yesterday and would like to know about stuff like that.

The main problem is that it is contrary to the Arch Way -- it's fine to use it but you should be familiar with the manual method first.

Cower was written by @falconindy, one of the Arch developers -- I use neither so I am unsure as to the specific benefits but the pedigree alone causes me to make the recommendation.

Yaourt is frequently disparaged by the "big-hitters" on the Arch forums and for that reason I have never even tried it -- as you can see from my post above, manually installing AUR packages takes just three commands.

EDIT: Welcome to Arch!
:)


All times are GMT -5. The time now is 04:39 AM.