Results 1 to 8 of 8

Thread: Where can I find recode ?

  1. #1
    Join Date
    Oct 2014
    Location
    Montpezat (France)
    Posts
    20

    Default Where can I find recode ?

    Hi,

    I've recently migrated my workstation from CentOS 7 to OpenSUSE Leap 15.0 KDE. I'm a long-time Linux user who started out on Slackware 7.1.

    One of the command line tools I use quite often is "recode", a charset conversion tool. More often than not, movie subtitles are encoded in UTF8, and I need them in latin1, so a simple 'recode utf8..latin1' will do the trick.

    Unfortunatly 'recode' is nowhere to be found in the repositories. I have the official repos configured as well as Packman.

    Before spamming my system by building it manually from source, I thought I'd rather ask if there's some obscure repository somewhere.

    Cheers from the sunny South of France.
    Dyslexics have more fnu.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,295
    Blog Entries
    15

    Default Re: Where can I find recode ?

    Quote Originally Posted by microlinux View Post
    Hi,

    I've recently migrated my workstation from CentOS 7 to OpenSUSE Leap 15.0 KDE. I'm a long-time Linux user who started out on Slackware 7.1.

    One of the command line tools I use quite often is "recode", a charset conversion tool. More often than not, movie subtitles are encoded in UTF8, and I need them in latin1, so a simple 'recode utf8..latin1' will do the trick.

    Unfortunatly 'recode' is nowhere to be found in the repositories. I have the official repos configured as well as Packman.

    Before spamming my system by building it manually from source, I thought I'd rather ask if there's some obscure repository somewhere.

    Cheers from the sunny South of France.
    Hi
    Looks like it was dropped from Leap 15.0 since it's in Base:System;

    https://build.opensuse.org/package/s...:System/recode

    This one is linked to the package, so either grab that or rebuild the src rpm?

    https://build.opensuse.org/package/s...nfred-h/recode
    https://build.opensuse.org/package/b...SUSE_Leap_15.0
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: Where can I find recode ?

    On 12/23/18 9:16 AM, microlinux wrote:
    >
    > Hi,
    >
    > I've recently migrated my workstation from CentOS 7 to OpenSUSE Leap
    > 15.0 KDE. I'm a long-time Linux user who started out on Slackware 7.1.
    >
    > One of the command line tools I use quite often is "recode", a charset
    > conversion tool. More often than not, movie subtitles are encoded in
    > UTF8, and I need them in latin1, so a simple 'recode utf8..latin1' will
    > do the trick.
    >
    > Unfortunatly 'recode' is nowhere to be found in the repositories. I have
    > the official repos configured as well as Packman.
    >


    You can always use 'osc' to search all available repos.

    code:

    osc se recode

    /code:

    --
    Ken
    unix since 1986
    S.u.S.E.-openSUSE since 1998

  4. #4
    Join Date
    Oct 2014
    Location
    Montpezat (France)
    Posts
    20

    Default Re: Where can I find recode ?

    I'm quite new to OpenSUSE. I've built my own packages for CentOS and Slackware before, even had my own repos. If I understand this correctly, OpenSUSE has the OpenSUSE Build Service. I'm a bit confused here, and I'm not even sure where to start, because there's build.opensuse.org and then openbuildservice.org.

    Any pointers on where to start, which documentation to read ? I'm not a lamer for RTFM, and I prefer detailed and thorough documentation to quick & dirty.

    Cheers.
    Dyslexics have more fnu.

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,295
    Blog Entries
    15

    Default Re: Where can I find recode ?

    Quote Originally Posted by microlinux View Post
    I'm quite new to OpenSUSE. I've built my own packages for CentOS and Slackware before, even had my own repos. If I understand this correctly, OpenSUSE has the OpenSUSE Build Service. I'm a bit confused here, and I'm not even sure where to start, because there's build.opensuse.org and then openbuildservice.org.

    Any pointers on where to start, which documentation to read ? I'm not a lamer for RTFM, and I prefer detailed and thorough documentation to quick & dirty.

    Cheers.
    Hi
    Well to rebuild a src rpm as your user run;
    Code:
    rpmbuild --rebuild <some_src_rpm>
    This assumes rpmbuild and the src rpm dependencies get installed (it will error out telling you what is needed). It will create a rpmbuild directory in your users $HOME directory from this you can switch to root user and install.

    The openSUSE Build Service is here (Create an account and should be good to go);
    https://build.opensuse.org/

    Tutorials;
    https://openbuildservice.org/help/

    More info here;
    https://en.opensuse.org/Portal:Build_Service

    The command line tool to build locally is called osc;
    https://en.opensuse.org/openSUSESC

    Hopefully that should give you a primer We have a separate sub forum for the openSUSE Build Service, so head over there if you have specific issues
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #6
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    816

    Default Re: Where can I find recode ?

    Some time ago I failed to find recode. Now I ran:

    Code:
    zypper ar --refresh  --priority 100 http://download.opensuse.org/repositories/Base:/System/openSUSE_Factory/  Base
    zypper in recode
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), openSUSE Tumbleweed, KDE Plasma 5

  7. #7
    Join Date
    Oct 2014
    Location
    Montpezat (France)
    Posts
    20

    Default Re: Where can I find recode ?

    Quote Originally Posted by karlmistelberger View Post
    Some time ago I failed to find recode. Now I ran:

    Code:
    zypper ar --refresh  --priority 100 http://download.opensuse.org/repositories/Base:/System/openSUSE_Factory/  Base
    zypper in recode
    This looks exactly like what I need. But is the repository compatible with Leap 15.0 ?
    Dyslexics have more fnu.

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,295
    Blog Entries
    15

    Default Re: Where can I find recode ?

    Quote Originally Posted by microlinux View Post
    This looks exactly like what I need. But is the repository compatible with Leap 15.0 ?
    Hi
    If you don't want to build, use the one from here which is linked to the Base System package and the build target is enabled for Leap 15.0;
    https://download.opensuse.org/reposi...0.1.x86_64.rpm
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •